The cl-crypt Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-crypt Reference Manual

This is the cl-crypt Reference Manual, generated automatically by Declt version 2.3 "Robert April" on Wed Mar 14 03:11:30 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

This implementation of unix crypt function has been written by by John
A.R. Williams .

The sources can be downloaded from http://www.jarw.org.uk/lisp/jarw.html or
via git: git clone http://www.jarw.org.uk/lisp/cl-jarw.git

The packaging has been made by Sébastien Gross .


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 crypt

Author

John A.R. Williams <J.A.R.Williams@jarw.org.uk>

License

GPL

Description

Common-Lisp implementation of unix crypt function

Source

crypt.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 crypt.asd

Location

crypt.asd

Systems

crypt (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 crypt/package.lisp

Parent

crypt (system)

Location

package.lisp

Packages

crypt


Previous: , Up: Lisp files   [Contents][Index]

3.1.3 crypt/crypt.lisp

Dependency

package.lisp (file)

Parent

crypt (system)

Location

crypt.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 crypt

Common-Lisp implementation of unix crypt function

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Functions

Function: crypt PWD &optional SALT

Password encrypion function.
PWD is the user’s typed password.
SALT is a two character string chosen from the set [a-zA-Z0-9./] used to perturb the algorithm in one of 4096 different ways.
Returns the 13 character encrypted password.

Package

crypt

Source

crypt.lisp (file)

Function: random-salt &optional LENGTH

Generate random salt string of given length (default 2)

Package

crypt

Source

crypt.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: +con-salt+
Package

crypt

Source

crypt.lisp (file)

Special Variable: +cov-2char+
Package

crypt

Source

crypt.lisp (file)

Special Variable: +iterations+
Package

crypt

Source

crypt.lisp (file)

Special Variable: +shifts2+
Package

crypt

Source

crypt.lisp (file)

Special Variable: +skb+
Package

crypt

Source

crypt.lisp (file)

Special Variable: +sptrans+
Package

crypt

Source

crypt.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Functions

Function: 4-octets-to-word BYTES &optional OFFSET
Package

crypt

Source

crypt.lisp (file)

Function: bits VALUE
Package

crypt

Source

crypt.lisp (file)

Function: body SCHEDULE E0 E1
Package

crypt

Source

crypt.lisp (file)

Function: d-encrypt L R IDX E0 E1 S
Package

crypt

Source

crypt.lisp (file)

Function: des-set-key KEY
Package

crypt

Source

crypt.lisp (file)

Function: hperm-op A N M
Package

crypt

Source

crypt.lisp (file)

Function: lshift VALUE N
Package

crypt

Source

crypt.lisp (file)

Function: perm-op A B N M
Package

crypt

Source

crypt.lisp (file)

Function: rshift VALUE N
Package

crypt

Source

crypt.lisp (file)

Function: word-to-4-octets VALUE BYTES &optional OFFSET
Package

crypt

Source

crypt.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
crypt.asd: The crypt<dot>asd file
crypt/crypt.lisp: The crypt/crypt<dot>lisp file
crypt/package.lisp: The crypt/package<dot>lisp file

F
File, Lisp, crypt.asd: The crypt<dot>asd file
File, Lisp, crypt/crypt.lisp: The crypt/crypt<dot>lisp file
File, Lisp, crypt/package.lisp: The crypt/package<dot>lisp file

L
Lisp File, crypt.asd: The crypt<dot>asd file
Lisp File, crypt/crypt.lisp: The crypt/crypt<dot>lisp file
Lisp File, crypt/package.lisp: The crypt/package<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   4  
B   C   D   F   H   L   P   R   W  
Index Entry  Section

4
4-octets-to-word: Internal functions

B
bits: Internal functions
body: Internal functions

C
crypt: Exported functions

D
d-encrypt: Internal functions
des-set-key: Internal functions

F
Function, 4-octets-to-word: Internal functions
Function, bits: Internal functions
Function, body: Internal functions
Function, crypt: Exported functions
Function, d-encrypt: Internal functions
Function, des-set-key: Internal functions
Function, hperm-op: Internal functions
Function, lshift: Internal functions
Function, perm-op: Internal functions
Function, random-salt: Exported functions
Function, rshift: Internal functions
Function, word-to-4-octets: Internal functions

H
hperm-op: Internal functions

L
lshift: Internal functions

P
perm-op: Internal functions

R
random-salt: Exported functions
rshift: Internal functions

W
word-to-4-octets: Internal functions

Jump to:   4  
B   C   D   F   H   L   P   R   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   +  
S  
Index Entry  Section

+
+con-salt+: Internal special variables
+cov-2char+: Internal special variables
+iterations+: Internal special variables
+shifts2+: Internal special variables
+skb+: Internal special variables
+sptrans+: Internal special variables

S
Special Variable, +con-salt+: Internal special variables
Special Variable, +cov-2char+: Internal special variables
Special Variable, +iterations+: Internal special variables
Special Variable, +shifts2+: Internal special variables
Special Variable, +skb+: Internal special variables
Special Variable, +sptrans+: Internal special variables

Jump to:   +  
S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   P   S  
Index Entry  Section

C
crypt: The crypt system
crypt: The crypt package

P
Package, crypt: The crypt package

S
System, crypt: The crypt system

Jump to:   C   P   S