Module: randomart
Interfaces
Variables
defaults
• Const
defaults: Options
Default options
Defined in
Functions
getValues
▸ getValues(fingerprint
, opts?
): number
[][]
Parameters
Name | Type |
---|---|
fingerprint |
Uint8Array |
opts |
Partial <Options > |
Returns
number
[][]
Defined in
randomArt
▸ randomArt(fingerprint
, opts?
):
Fingerprint
Generates a visualisation of a "fingerprint" similar to the ascii-based visualization method used by OpenSSH. Generates a "heat map" of values on a grid of a given width and height using the "drunken bishop" algorithm desribed in this paper.
Parameters
Name | Type |
---|---|
fingerprint |
Uint8Array |
opts |
Partial <Options > |