MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / rsa

Struct rsa

cipher/rsa/rsa2.go:24–28  ·  view source on GitHub ↗

rsa struct contains the public key, private key and modulus

Source from the content-addressed store, hash-verified

22
23// rsa struct contains the public key, private key and modulus
24type rsa struct {
25 publicKey uint64
26 privateKey uint64
27 modulus uint64
28}
29
30// New initializes the RSA algorithm
31// returns the RSA object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected