Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 584ef96

Browse files
remove password hashing
1 parent 55e3961 commit 584ef96

20 files changed

+7
-497
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,16 @@
22

33
A collection of auth-related utilities, including:
44

5-
- `oslo/binary`: Utilities for byte arrays
5+
- `oslo/binary`: Utilities for working with byte arrays
66
- `oslo/cookie`: Cookie parsing and serialization
77
- `oslo/crypto`: Generate hashes, signatures, and random values
88
- `oslo/encoding`: Encode base64, base64url, base32, hex
99
- `oslo/jwt`: Create and verify JWTs
1010
- `oslo/oauth2`: OAuth2 helpers
1111
- `oslo/otp`: HOTP, TOTP
12-
- `oslo/password`: Password hashing
1312
- `oslo/webauthn`: Verify Web Authentication API attestations and assertions
1413

15-
Aside from `oslo/password`, every module works in any environment, including Node.js, Cloudflare Workers, Deno, and Bun.
14+
It's lightweight, runtime-agnostic, and fully typed.
1615

1716
Documentation: https://oslo.js.org
1817

@@ -26,7 +25,7 @@ yarn add oslo
2625

2726
## Node.js
2827

29-
For Node.js 16 & 18, you need to polyfill the Web Crypto API. This is not required in Node.js 20.
28+
For Node.js 16 & 18, you'll need to polyfill the Web Crypto API. This is not required in Node.js 20 or later.
3029

3130
```ts
3231
import { webcrypto } from "node:crypto";

docs/malta.config.json

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
["oslo/jwt", "/reference/jwt"],
1616
["oslo/oauth2", "/reference/oauth2"],
1717
["oslo/otp", "/reference/otp"],
18-
["oslo/password", "/reference/password"],
1918
["oslo/webauthn", "/reference/webauthn"]
2019
]
2120
},

docs/pages/index.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -4,27 +4,26 @@ title: "Oslo documentation"
44

55
# Oslo documentation
66

7-
Oslo provides a bunch of auth utilities, including APIs for:
7+
A collection of auth-related utilities, including:
88

9-
- `oslo/binary`: Utilities for byte arrays
9+
- `oslo/binary`: Utilities for working with byte arrays
1010
- `oslo/cookie`: Cookie parsing and serialization
1111
- `oslo/crypto`: Generate hashes, signatures, and random values
1212
- `oslo/encoding`: Encode base64, base64url, base32, hex
1313
- `oslo/jwt`: Create and verify JWTs
1414
- `oslo/oauth2`: OAuth2 helpers
1515
- `oslo/otp`: HOTP, TOTP
16-
- `oslo/password`: Password hashing
1716
- `oslo/webauthn`: Verify Web Authentication API attestations and assertions
1817

19-
It's lightweight, runtime agnostic, and fully typed.
18+
It's lightweight, runtime-agnostic, and fully typed.
2019

2120
## Installation
2221

2322
```
2423
npm install oslo
2524
```
2625

27-
This module relies on the Web Crypto API, which is not available by default in Node.js 16 and 18 (available in Node.js 20+). Make sure to polyfill them:
26+
For Node.js 16 & 18, you'll need to polyfill the Web Crypto API. This is not required in Node.js 20 or later.
2827

2928
```ts
3029
import { webcrypto } from "node:crypto";

docs/pages/reference/password/Argon2id/hash.md

-24
This file was deleted.

docs/pages/reference/password/Argon2id/index.md

-45
This file was deleted.

docs/pages/reference/password/Argon2id/verify.md

-25
This file was deleted.

docs/pages/reference/password/Bcrypt/hash.md

-24
This file was deleted.

docs/pages/reference/password/Bcrypt/index.md

-37
This file was deleted.

docs/pages/reference/password/Bcrypt/verify.md

-25
This file was deleted.

docs/pages/reference/password/PasswordHashingAlgorithm.md

-27
This file was deleted.

docs/pages/reference/password/Scrypt/hash.md

-24
This file was deleted.

docs/pages/reference/password/Scrypt/index.md

-40
This file was deleted.

docs/pages/reference/password/Scrypt/verify.md

-25
This file was deleted.

0 commit comments

Comments
 (0)