Class SimpleAsymmetricByteEncryptor

java.lang.Object
com.ulisesbocchio.jasyptspringboot.encryptor.SimpleAsymmetricByteEncryptor
All Implemented Interfaces:
org.jasypt.encryption.ByteEncryptor

public class SimpleAsymmetricByteEncryptor extends Object implements org.jasypt.encryption.ByteEncryptor
Vanilla implementation of an asymmetric encryptor that relies on AsymmetricCryptography Keys are lazily loaded from SimpleAsymmetricConfig
Version:
$Id: $Id
Author:
Ulises Bocchio
  • Constructor Details

  • Method Details

    • encrypt

      public byte[] encrypt(byte[] message)
      Specified by:
      encrypt in interface org.jasypt.encryption.ByteEncryptor
    • decrypt

      public byte[] decrypt(byte[] encryptedMessage)
      Specified by:
      decrypt in interface org.jasypt.encryption.ByteEncryptor