manpagez: man pages & more
info guile
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.2.14 Encryption

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 (see Encrypting Passwords in The GNU C Library Reference Manual).

Scheme Procedure: crypt key salt
C Function: scm_crypt (key, salt)

Encrypt key, with the addition of salt (both strings), using the crypt C library call.

Although getpass is not an encryption procedure per se, it appears here because it is often used in combination with crypt:

Scheme Procedure: getpass prompt
C Function: scm_getpass (prompt)

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.


[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated on April 20, 2013 using texi2html 5.0.

© manpagez.com 2000-2024
Individual documents may contain additional copyright information.