chore(xo-server/checksum): documentation
This commit is contained in:
parent
f45935aa44
commit
c239b518e0
@ -7,6 +7,9 @@ import { defer, fromEvent } from 'promise-toolbox'
|
|||||||
import { invert } from 'lodash'
|
import { invert } from 'lodash'
|
||||||
import { type Readable, type Transform } from 'stream'
|
import { type Readable, type Transform } from 'stream'
|
||||||
|
|
||||||
|
// Format: $<algorithm>$<salt>$<encrypted>
|
||||||
|
//
|
||||||
|
// http://man7.org/linux/man-pages/man3/crypt.3.html#NOTES
|
||||||
const ALGORITHM_TO_ID = {
|
const ALGORITHM_TO_ID = {
|
||||||
md5: '1',
|
md5: '1',
|
||||||
sha256: '5',
|
sha256: '5',
|
||||||
|
Loading…
Reference in New Issue
Block a user