Class OctoTrustAES

java.lang.Object
love.distributedrebirth.nx01.no2all.nostr.octo.trust.OctoTrustAES

public final class OctoTrustAES extends Object
Version:
©Δ∞ 仙上主天
Author:
للَّٰهِilLצسُو
  • Constructor Details

    • OctoTrustAES

      public OctoTrustAES()
  • Method Details

    • createRandomIv

      public static IvParameterSpec createRandomIv()
    • isSecretPasswordValid

      public static boolean isSecretPasswordValid(char[] password, byte[] salt)
    • createSecretPassword

      public static SecretKey createSecretPassword(char[] password, byte[] salt)
    • encrypt

      public static byte[] encrypt(byte[] data, SecretKey key, IvParameterSpec iv)
    • decrypt

      public static byte[] decrypt(byte[] data, SecretKey key, IvParameterSpec iv)