Skip to content

Commit

Permalink
Export signcryption+armor helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelthomas2774 committed Jul 22, 2020
1 parent 01ea527 commit 4ba2a4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ stream.end('BEGIN SALTPACK SIGNED MESSAGE. kYM5h1pg6qz9UMn j6G9T0lmMjkYOsZ Kn4Ac
stream.pipe(process.stdout);
```

Detaching signing
Detached signing
---

`signDetachedAndArmor` signs a string or Uint8Array (or a Node.js Buffer) and returns the ASCII-armored signature
Expand Down
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,10 @@ export {
signDetachedAndArmor,
verifyDetachedArmored,
DearmorAndVerifyDetachedResult,

signcryptAndArmor,
dearmorAndDesigncrypt,
DearmorAndDesigncryptResult,
SigncryptAndArmorStream,
DearmorAndDesigncryptStream,
} from './with-armor';

0 comments on commit 4ba2a4d

Please sign in to comment.