Cryptography Engine Classes
The following engine classes are available: SecureRandom : used to generate random or pseudo-random numbers. SecureRandom secureRandom = new SecureRandom() secureRandom.getInstance(); secureRandom.getInstanceStrong() synchronized public void setSeed(byte[] seed) public void setSeed(long seed) synchronized public void nextBytes(byte[] bytes) byte[] generateSeed(int numBytes) MessageDigest : used to calculate the message digest (hash) of specified data. Signature : initialized with keys, these are used to sign data and verify digital signatures. Cipher : initialized with keys, these used for encrypting/decrypting data. There are various types...