Class EncryptionUtils


  • public class EncryptionUtils
    extends Object
    EncryptionUtils
    Since:
    27 oct. 2016
    • Field Detail

      • CHAR_UNDERSCORE

        protected static final String CHAR_UNDERSCORE
        The Constant CHAR_DOT.
      • CHAR_AND

        protected static final String CHAR_AND
        The Constant CHAR_AND.
      • CHAR_MINUS

        protected static final String CHAR_MINUS
        The Constant CHAR_DOUBLE_DOT.
      • CHAR_PLUS

        protected static final String CHAR_PLUS
        The Constant CHAR_PLUS.
      • CHAR_AT

        protected static final String CHAR_AT
        The Constant CHAR_AT.
      • CHAR_SLASH

        protected static final String CHAR_SLASH
        The Constant CHAR_SLASH.
    • Constructor Detail

      • EncryptionUtils

        public EncryptionUtils()
    • Method Detail

      • makeUniqueToken

        public String makeUniqueToken()
      • decodeHexa

        public String decodeHexa​(String value)
                          throws org.apache.commons.codec.DecoderException
        Throws:
        org.apache.commons.codec.DecoderException
      • encodeBase64

        public String encodeBase64​(String value)
      • encodeBase64

        public String encodeBase64​(byte[] value)
      • decodeBase64

        public String decodeBase64​(String value)
      • decodeBase64Bytes

        public byte[] decodeBase64Bytes​(String value)