Class EncryptionUtil


  • public final class EncryptionUtil
    extends Object
    Created by Vahid Zafari on 4/21/2016.
    • Method Detail

      • encrypt

        public static byte[] encrypt​(byte[] rawData,
                                     byte[] key)
        Returns:
        if rawDate==null then returns byte object with zero length
      • decrypt

        public static byte[] decrypt​(byte[] encryptedData,
                                     byte[] key)
        Returns:
        if encryptedData==null then returns byte object with zero length