Interface GcEncryptionInterface

All Known Implementing Classes:
GcSymmetricEncryptAesCbcPkcs5Padding

public interface GcEncryptionInterface
encryption
  • Method Summary

    Modifier and Type
    Method
    Description
    decrypt(String key, String encryptedData)
    decrypt some data based on a key
    encrypt(String key, String data)
    encrypt some data based on a key
  • Method Details

    • encrypt

      String encrypt(String key, String data)
      encrypt some data based on a key
      Parameters:
      key -
      data -
      Returns:
      the encrypted text
    • decrypt

      String decrypt(String key, String encryptedData)
      decrypt some data based on a key
      Parameters:
      key -
      encryptedData -
      Returns:
      the encrypted text