0.2.3 • Published 11 months ago

@li0ard/crapto1_ts v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Installation

# from NPM
npm i @li0ard/crapto1_ts

# from JSR
bunx i jsr install @li0ard/crapto1-ts

Usage

!TIP Ported mfkey64 and mfkey32 are placed here

Recovery by 2 sets of 32 bit auth

import { recovery32 } from "@li0ard/crapto1_ts" // or @li0ard/crapto1-ts

console.log(recovery32(
    uid,
    tagChallenge,
    readerChallenge,
    readerResponse,
    tagChallenge2,
    readerChallenge2,
    readerResponse2
).toString(16))

Recovery by 1 set of full 64 bit auth

import { recovery64 } from "@li0ard/crapto1_ts" // or @li0ard/crapto1-ts

console.log(recovery64(
    uid,
    tagChallenge,
    readerChallenge,
    readerResponse,
    tagResponse
).toString(16))

Recovery by Nested auth

import { recoveryNested } from "@li0ard/crapto1_ts" // or @li0ard/crapto1-ts

console.log(recoveryNested(
    uid,
    tagChallenge,
    encryptedTagChallenge,
    readerChallenge,
    readerResponse
).toString(16))

Acknowledgements

Some parts were based on or greatly inspired by these projects:

0.2.9

9 months ago

0.2.8

10 months ago

0.2.7

10 months ago

0.2.6

11 months ago

0.2.5

11 months ago

0.2.4

11 months ago

0.2.3

11 months ago

0.2.2

12 months ago

0.2.1

12 months ago

0.2.0

12 months ago

0.1.1

12 months ago