public byte [ ] calculateVrfSignature ( byte [ ] privateKey , byte [ ] message ) { if ( privateKey == null || privateKey . length != 32 ) { throw new IllegalArgumentException ( "Invalid private key!" ) ; } byte [ ] random = provider . getRandom ( 64 ) ; return provider . calculateVrfSignature ( random , privateKey , message ) ; }
Calculates a Unique Curve25519 signature .