Skip to content

Commit

Permalink
Notes on TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBCarter committed Aug 29, 2024
1 parent c11f53d commit 37985c3
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@ import {

import { SignatureSchema } from './Schema.ts'

// TODO: openssl list -digest-algorithms
// TODO: Overlap of outputs from:
// openssl list -digest-algorithms
// AND
// inputs to node.js crypto.createHash
export type Digest = 'sha512' | 'sha3-256'

export interface SignatureFields {
/**
* The digest algorithm used to create the signature
*/
digestAlgorithm: Digest
/**
* The signature
*/
signature: string
}

Expand Down

0 comments on commit 37985c3

Please sign in to comment.