2022-04-05 11:13:34 +00:00
|
|
|
package neofsecdsa
|
|
|
|
|
|
|
|
import neofscrypto "github.com/nspcc-dev/neofs-sdk-go/crypto"
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
neofscrypto.RegisterScheme(neofscrypto.ECDSA_SHA512, func() neofscrypto.PublicKey {
|
|
|
|
return new(PublicKey)
|
|
|
|
})
|
|
|
|
|
|
|
|
neofscrypto.RegisterScheme(neofscrypto.ECDSA_DETERMINISTIC_SHA256, func() neofscrypto.PublicKey {
|
2022-04-19 08:11:29 +00:00
|
|
|
return new(PublicKeyRFC6979)
|
2022-04-05 11:13:34 +00:00
|
|
|
})
|
|
|
|
}
|