Which hash should I use?
Use SHA-256 or better for anything security-related. MD5 and SHA-1 are broken for security but still common for checksums and cache keys.
Is my data safe?
Yes. Everything runs in your browser. Nothing you paste here is sent to any server.