Interface TextEncryptor

  • All Known Implementing Classes:
    TextEncryptorImpl

    public interface TextEncryptor
    For a given context, encrypt/decrypt text. (alias,password) is stored in SCV as Credentials with the specified alias.
    • Method Detail

      • encrypt

        String encrypt​(String alias,
                       String text)
        Encrypt text for the given context
      • decrypt

        String decrypt​(String alias,
                       String encrypted)
        Decrypt encrypted for the given context