FunctionPackage: exclToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

sha224-string

Arguments: string &key start end external-format return

Using sha224-init (which creates a context), sha224-update (which updates the context with the argument string), and sha224-final (which finalizes the hash), this function computes the SHA224 hash for string.

The start and end arguments specify the portion of the string to be considered and the external-format argument specifies the external hashing of the string that will be used to update the context. start defaults to 0, end defaults to the length of string, and external-format defaults to the default external format. These arguments, along with string, are passed to sha224-update.

The format of the result, just as for sha224-final, is determined by the return keyword argument. The possible values are :integer, :usb8, and :hex. See sha224-final for information on these values and the corresponding formats of the returned value.

cl-user(4): (sha224-string "foo")  ;; default return format :integer
846185141210288911164176837699981668991754445367816825983107266779
cl-user(5): (sha224-string "foo" :return :usb8)
#(8 8 246 78 96 213 137 121 252 182 ...)
cl-user(6): 

MD*, SHA*, HMAC, and other message digest support in miscellaneous.htm. See also digest-string.


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version