Mercurial > vim
comparison src/sha256.c @ 3935:ee138f29259e v7.3.723
updated for version 7.3.723
Problem: Various tiny problems.
Solution: Various tiny fixes.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 20 Nov 2012 17:19:01 +0100 |
parents | ccda151dde4e |
children | 2b340e5c5baa |
comparison
equal
deleted
inserted
replaced
3934:1785a734281a | 3935:ee138f29259e |
---|---|
5 * Do ":help uganda" in Vim to read copying and usage conditions. | 5 * Do ":help uganda" in Vim to read copying and usage conditions. |
6 * Do ":help credits" in Vim to see a list of people who contributed. | 6 * Do ":help credits" in Vim to see a list of people who contributed. |
7 * See README.txt for an overview of the Vim source code. | 7 * See README.txt for an overview of the Vim source code. |
8 * | 8 * |
9 * FIPS-180-2 compliant SHA-256 implementation | 9 * FIPS-180-2 compliant SHA-256 implementation |
10 * GPL by Christophe Devine. | 10 * GPL by Christophe Devine, applies to older version. |
11 * Modified for md5deep, in public domain. | 11 * Modified for md5deep, in public domain. |
12 * Modified For Vim, Mohsin Ahmed, http://www.cs.albany.edu/~mosh | 12 * Modified For Vim, Mohsin Ahmed, http://www.cs.albany.edu/~mosh |
13 * Mohsin Ahmed states this work is distributed under the VIM License or GPL, | |
14 * at your choice. | |
13 * | 15 * |
14 * Vim specific notes: | 16 * Vim specific notes: |
15 * Functions exported by this file: | 17 * Functions exported by this file: |
16 * 1. sha256_key() hashes the password to 64 bytes char string. | 18 * 1. sha256_key() hashes the password to 64 bytes char string. |
17 * 2. sha2_seed() generates a random header. | 19 * 2. sha2_seed() generates a random header. |