Skip to content

Commit 5abc825

Browse files
committed
chore: wip
1 parent 30ac7f0 commit 5abc825

26 files changed

Lines changed: 326 additions & 360 deletions

.vscode/dictionary.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ shoutout
6969
Siegl
7070
socio
7171
Solana
72+
spfunction
7273
sponsorware
7374
sslx
7475
stacksjs

src/aes.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
22
* Advanced Encryption Standard (AES) implementation.
33
*
4-
* This implementation is based on the public domain library 'jscrypto' which
5-
* was written by:
4+
* This implementation is based on the public domain library 'jscrypto'
5+
* which was written by:
66
*
77
* Emily Stark (estark@stanford.edu)
88
* Mike Hamburg (mhamburg@stanford.edu)
@@ -12,8 +12,7 @@
1212
* http://www.openssl.org
1313
*
1414
* @author Dave Longley
15-
*
16-
* Copyright (c) 2010-2014 Digital Bazaar, Inc.
15+
* @author Chris Breuer
1716
*/
1817

1918
import type { Algorithm, BlockCipher } from './cipher'

src/asn1-validator.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
/**
2-
* Copyright (c) 2019 Digital Bazaar, Inc.
3-
*/
4-
51
import { Class, Type } from './asn1'
62

73
export interface Asn1Validator {

src/asn1.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
/**
2-
* Javascript implementation of Abstract Syntax Notation Number One.
2+
* TypeScript implementation of Abstract Syntax Notation Number One.
33
*
44
* @author Dave Longley
5-
*
6-
* Copyright (c) 2010-2015 Digital Bazaar, Inc.
5+
* @author Chris Breuer
76
*
87
* An API for storing data using the Abstract Syntax Notation Number One
98
* format using DER (Distinguished Encoding Rules) encoding. This encoding is

src/cipher-modes.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
* Supported cipher modes.
33
*
44
* @author Dave Longley
5-
*
6-
* Copyright (c) 2010-2014 Digital Bazaar, Inc.
5+
* @author Chris Breuer
76
*/
87

98
import type { ByteStringBuffer } from './utils'

src/cipher.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
* Cipher base API.
33
*
44
* @author Dave Longley
5-
*
6-
* Copyright (c) 2010-2014 Digital Bazaar, Inc.
5+
* @author Chris Breuer
76
*/
87

98
import type { ByteStringBuffer } from './utils'

src/des.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
*
2626
* @author Stefan Siegl
2727
* @author Dave Longley
28-
*
29-
* Copyright (c) 2012 Stefan Siegl <stesie@brokenpipe.de>
30-
* Copyright (c) 2012-2014 Digital Bazaar, Inc.
28+
* @author Chris Breuer
3129
*/
3230

3331
import type { Algorithm, BlockCipher } from './cipher'

src/ed25519.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/**
2-
* JavaScript implementation of Ed25519.
3-
*
4-
* Copyright (c) 2017-2019 Digital Bazaar, Inc.
2+
* TypeScript implementation of Ed25519.
53
*
64
* This implementation is based on the most excellent TweetNaCl which is
75
* in the public domain. Many thanks to its contributors:

src/hmac.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
/**
22
* Hash-based Message Authentication Code implementation. Requires a message
3-
* digest object that can be obtained, for example, from forge.md.sha1 or
4-
* forge.md.md5.
3+
* digest object that can be obtained, for example, from `sha1` or `md5`.
54
*
65
* @author Dave Longley
7-
*
8-
* Copyright (c) 2010-2012 Digital Bazaar, Inc. All rights reserved.
6+
* @author Chris Breuer
97
*/
108

119
import { ByteStringBuffer, createBuffer } from './utils'

src/jsbn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Basic JavaScript BN library - subset useful for RSA encryption.
1+
// Basic TypeScript BN library - subset useful for RSA encryption.
22

33
/*
44
* Copyright (c) 2003-2005 Tom Wu

0 commit comments

Comments
 (0)