init: v1.0.0
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
package rsa
|
||||
|
||||
import (
|
||||
"xdx.jelly/xgcl/rsa/internal"
|
||||
"xdx.jelly/xgcl/sm"
|
||||
)
|
||||
|
||||
var PKCS1v15WithSha256Options = sm.SHA256
|
||||
var PKCS1v15WithSha1Options = sm.SHA1
|
||||
var PKCS1v15WithSm3Options = sm.SM3
|
||||
|
||||
// PrivateKey export internal.PrivateKey.
|
||||
type PrivateKey = internal.PrivateKey
|
||||
|
||||
// PublicKey export internal.PublicKey
|
||||
type PublicKey = internal.PublicKey
|
||||
|
||||
var NewPrivateKey = internal.NewPrivateKey
|
||||
var NewPublicKey = internal.NewPublicKey
|
||||
|
||||
var GenerateKey = internal.GenerateKey
|
||||
Reference in New Issue
Block a user