Class CryptoFunctions


  • public class CryptoFunctions
    extends Object
    • Method Detail

      • xchacha20

        public static byte[] xchacha20​(byte[] message,
                                       byte[] nonce,
                                       byte[] key)
      • blake2b

        public static byte[] blake2b​(int size,
                                     byte[] message,
                                     byte[] key)
      • sign

        public static byte[] sign​(PrivateKey privateKey,
                                  byte[] msg)
      • verify

        public static boolean verify​(PublicKey publicKey,
                                     byte[] msg,
                                     byte[] signature)