Class CryptoHelper

java.lang.Object
com.amilesend.client.crypto.CryptoHelper

public class CryptoHelper extends Object
Helper that encrypts and decrypts content for the configured cipher algorithm and key.

Note: See Java Security Standard Algorithm Names for a list of available ciphers and be aware of which are applicable to comply with your local geographic laws and/or policies.

See Also:
  • Constructor Details

    • CryptoHelper

      public CryptoHelper(String cipherAlgorithm, @NonNull @NonNull SecretKey key)
      Creates a new CryptoHelper instance.
      Parameters:
      cipherAlgorithm - the cipher algorithm to use
      key - the key used to encrypt/decrypt content
  • Method Details