Skip to content

greymass/swift-eosio-key-encrypt-legacy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swift-eosio-key-encryption-legacy

EOSIO Private Key encryption

  • Supports multiple curve types
  • Scrypt key derivation with configurable params
  • Encodes to human readable-ish strings (SEC_K1_8vWLjFLTcvWNKY8wwfMKJJ3Sf278qb5xQgqXFzrRF44ECxACwoC3RPTj)

Data format

  • 1 byte key type (secp256k1 = 0)
  • 1 byte scrypt params
  • 4 byte checksum of public key
  • 32 byte ciphertext

About

Legacy version of Swift EOSIO Key Encrypt which has the compiler bug that produces bad Owner Key Certificates.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%