Class OctoTrustAES
java.lang.Object
love.distributedrebirth.nx01.no2all.nostr.octo.trust.OctoTrustAES
Nostr octo trust AES.
- Version:
- ©Δ∞ 仙上主天
- Author:
- للَّٰهِilLצسُو
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IvParameterSpecstatic SecretKeycreateSecretPassword(char[] password, byte[] salt) static byte[]decrypt(byte[] data, SecretKey key, IvParameterSpec iv) static byte[]encrypt(byte[] data, SecretKey key, IvParameterSpec iv) static booleanisSecretPasswordValid(char[] password, byte[] salt)
-
Constructor Details
-
OctoTrustAES
public OctoTrustAES()
-
-
Method Details
-
createRandomIv
-
isSecretPasswordValid
public static boolean isSecretPasswordValid(char[] password, byte[] salt) -
createSecretPassword
-
encrypt
-
decrypt
-