public interface Cipher<ORIGIN,ENCRYPTED>
ORIGIN
decrypt(ENCRYPTED encryptedText)
ENCRYPTED
encrypt(ORIGIN text)
ENCRYPTED encrypt(ORIGIN text)
ORIGIN decrypt(ENCRYPTED encryptedText)
encryptedText
IllegalArgumentException
SecurityException
Copyright © 2021. All rights reserved.