Skip to content

Readme typo #7

Description

@ceceayo

I don't know if this is intentional, I believe not. The second example in the Readme, "With Signing", has a typo: instead of EncryptParameter, like in the first example, there has been written EncryptParamete.

With signing

KotlinPGP.encrypt(EncryptParamete( # <--- here
    message = contentToEncrypt,
    publicKey = publicKeys, // A list of public key string
    enableSignature = true,
    privateKey = keypair.secretKey, // A private key string
    password = keyPassword
))

I believe this should be

KotlinPGP.encrypt(EncryptParameter( # <--- here
    message = contentToEncrypt,
    publicKey = publicKeys, // A list of public key string
    enableSignature = true,
    privateKey = keypair.secretKey, // A private key string
    password = keyPassword
))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions