Class TweetNaclFast.Signature

java.lang.Object
com.iwebpp.crypto.TweetNaclFast.Signature
Enclosing class:
TweetNaclFast

public static final class TweetNaclFast.Signature extends Object
  • Field Details

  • Constructor Details

    • Signature

      public Signature(byte[] theirPublicKey, byte[] mySecretKey)
  • Method Details

    • sign

      public byte[] sign(byte[] message)
    • sign

      public byte[] sign(byte[] message, int moff)
    • sign

      public byte[] sign(byte[] message, int moff, int mlen)
    • open

      public byte[] open(byte[] signedMessage)
    • open

      public byte[] open(byte[] signedMessage, int smoff)
    • open

      public byte[] open(byte[] signedMessage, int smoff, int smlen)
    • detached

      public byte[] detached(byte[] message)
    • detached_verify

      public boolean detached_verify(byte[] message, byte[] signature)
    • keyPair

      public static TweetNaclFast.Signature.KeyPair keyPair()
    • keyPair_fromSecretKey

      public static TweetNaclFast.Signature.KeyPair keyPair_fromSecretKey(byte[] secretKey)
    • keyPair_fromSeed

      public static TweetNaclFast.Signature.KeyPair keyPair_fromSeed(byte[] seed)