Skip to content

RSA method defaults on keys? #20

Description

@mikeboers

Should we store the default hash/saltlen for signing/encryption on the rsa.Key itself?

E.g.:

key = tomcrypt.rsa.Key(1024, sign_hash='sha256')
key.sign(content) # Will use `sha256`.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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