- 
                  
                  
Sign data with a K1 key for validation on an eosio chain.
Throws
If the data cannot be signed or the public key cannot be recovered, or another error is encountered.Declaration
Swift
public class func signWithK1(publicKey: Data, privateKey: Data, data: Data) throws -> DataParameters
publicKeyThe public key to recover.
privateKeyThe private key used to sign.
dataThe data to sign.
Return Value
A signature (header byte + r + s).
 
            View on GitHub
          
      EosioEccSign Class Reference