mirror of
https://github.com/kccleoc/seedpgp-web.git
synced 2026-03-06 17:37:51 +08:00
- Implement cv25519 PGP encryption/decryption - Add Base45 encoding with CRC16 integrity checks - Create SEEDPGP1 frame format for QR codes - Support BIP39 passphrase flag indicator - Add comprehensive test suite with Trezor BIP39 vectors - 15 passing tests covering all core functionality
15 lines
220 B
TypeScript
15 lines
220 B
TypeScript
export type SeedPgpPlaintext = {
|
|
v: 1;
|
|
t: "bip39";
|
|
w: string;
|
|
l: "en";
|
|
pp: 0 | 1;
|
|
fpr?: string[];
|
|
};
|
|
|
|
export type ParsedSeedPgpFrame = {
|
|
kind: "single";
|
|
crc16: string;
|
|
b45: string;
|
|
};
|