klyn.cryptography.Signature.update
method

    public update(text as String) as Signature:

Description

Appends text to the in-memory signature buffer.

Parameters

Parameter | Description
--- | ---
`text` | Additional UTF-8 text chunk.

Returns

This signature instance.

Example

    import klyn.cryptography

    keys = RSAKeyPairGenerator().generateKeyPair()
    signature = RSAPSSSignature(SHA256())
    signature.initSign(keys.privateKeyPem)
    signature.update("hel")
    signature.update("lo")
    print(signature.sign())