Home All Groups
commons-codec / org / apache / commons / codec / digest / Md5Crypt.html /
org.apache.commons.codec.digest

Class Md5Crypt


  • public class Md5Crypt
    extends Object
    The libc crypt() "$1$" and Apache "$apr1$" MD5-based hash algorithm.

    Based on the public domain ("beer-ware") C implementation from Poul-Henning Kamp which was found at: crypt-md5.c @ freebsd.org

    Source:

     $FreeBSD: src/lib/libcrypt/crypt-md5.c,v 1.1 1999/01/21 13:50:09 brandon Exp $
     

    Conversion to Kotlin and from there to Java in 2012.

    The C style comments are from the original C code, the ones with "//" from the port.

    This class is immutable and thread-safe.

    Since:
    1.7
    Version:
    $Id: Md5Crypt.java 1552861 2013-12-21 02:03:17Z ggregory $

Copyright © 2002–2013 The Apache Software Foundation. All rights reserved.