Update README.md

This commit is contained in:
Sai Raj 2020-01-05 20:13:53 +05:30 committed by GitHub
parent 1301caaa40
commit 2b847b7a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,8 +73,8 @@ This template contains standard operations that can be used for the following:
2. privateKey - private key of the signer 2. privateKey - private key of the signer
#### Verify Signature #### Verify Signature
floCrypto.decryptData(data, signature, publicKey) floCrypto.verifySign(data, signature, publicKey)
`decryptData` verifies signatue of the data using public-key `verifySign` verifies signatue of the data using public-key
1. data - data of the given signature 1. data - data of the given signature
2. signature - signature of the data 2. signature - signature of the data
3. publicKey - public key of the signer 3. publicKey - public key of the signer