Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for epub (0.03 sec)

  1. lib/fips140/v1.0.0.zip

    public key operation. func Encrypt(pub *PublicKey, plaintext []byte) ([]byte, error) { fips140.RecordNonApproved() if _, err := checkPublicKey(pub); err != nil { return nil, err } return encrypt(pub, plaintext) } func encrypt(pub *PublicKey, plaintext []byte) ([]byte, error) { m, err := bigmod.NewNat().SetBytes(plaintext, pub.N) if err != nil { return nil, err } return bigmod.NewNat().ExpShortVarTime(m, uint(pub.E), pub.N).Bytes(pub.N), nil } var ErrMessageTooLong = errors.New("crypto/rsa: message...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top