Org.BouncyCastle.Crypto.Generators Poly1305KeyGenerator in C# (CSharp): 5 esempi trovati. Questi sono i migliori esempi reali in C# (CSharp) per Org.BouncyCastle.Crypto.Generators.Poly1305KeyGenerator, estratti da progetti open source. Li puoi valutare, per aiutarci a migliorare la qualità dei nostri esempi.
Poly1305 keys are 256 bit keys consisting of a 128 bit secret key used for the underlying block cipher followed by a 128 bit {@code r} value used for the polynomial portion of the Mac. The {@code r} value has a specific format with some bits required to be cleared, resulting in an effective 106 bit key. A separately generated 256 bit key can be modified to fit the Poly1305 key format by using the {@link #clamp(byte[])} method to clear the required bits.