-
Notifications
You must be signed in to change notification settings - Fork 87
sha1sum
Matthias Görges edited this page Jul 8, 2015
·
1 revision
sha1sum returns the SHA-1 hash for a given file
Parameter | Description |
---|---|
filename | File operated on |
Example 1: Calculate SHA hashes of various lengths.
> (define filename "LNtest")
> (u8vector->file (u8vector 76 97 109 98 100 97 78 97 116 105 118 101) filename)
> (display (shasum filename))
#u8(190 93 195 208 166 17 6 207 175 66 12 224 96 12 114 195 131 240 25 214)
> (display (sha1sum filename))
#u8(190 93 195 208 166 17 6 207 175 66 12 224 96 12 114 195 131 240 25 214)
> (display (sha256sum filename))
#u8(160 23 42 189 14 6 25 74 99 73 81 58 137 111 192 233 87 149 60 150 200 109 49 192 255 220 37 108 207 25 115 15)
> (display (sha512sum filename))
#u8(38 182 222 224 225 89 152 188 122 77 132 121 160 79 41 6 26 21 105 82 54 53 213 214 241 185 154 129 217 226 221 77 76 120 197 237 79 77 3 142 167 50 232 192 235 0 20 214 73 155 172 28 101 228 47 255 253 233 202 174 145 38 230 181)
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip