Java · Hard · Pro
Java crypto APIs — MessageDigest, Cipher, SecureRandom usage?
JavaModules & SecuritySenior
Java crypto APIs
Use java.security and javax.crypto for digests, MACs, ciphers, and keys—never hand-rolled crypto. MessageDigest for hashing, Cipher for encryption, SecureRandom for tokens.