Node:Encryption, Previous:Locales, Up:POSIX
Please note that the procedures in this section are not suited for strong encryption, they are only interfaces to the well-known and common system library functions of the same name. They are just as good (or bad) as the underlying functions, so you should refer to your system documentation before using them.
crypt key salt | Scheme Procedure |
scm_crypt (key, salt) | C Function |
Encrypt key using salt as the salt value to the crypt(3) library call. |
Although getpass
is not an encryption procedure per se, it
appears here because it is often used in combination with crypt
:
getpass prompt | Scheme Procedure |
scm_getpass (prompt) | C Function |
Display prompt to the standard error output and read
a password from /dev/tty . If this file is not
accessible, it reads from standard input. The password may be
up to 127 characters in length. Additional characters and the
terminating newline character are discarded. While reading
the password, echoing and the generation of signals by special
characters is disabled.
|