jdk/src/share/classes/com/sun/crypto/provider/DESedeCipher.java
changeset 7043 5e2d1edeb2c7
parent 5506 202f599c92aa
equal deleted inserted replaced
7042:56e990297bc5 7043:5e2d1edeb2c7
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    29 import java.security.spec.*;
    29 import java.security.spec.*;
    30 import javax.crypto.*;
    30 import javax.crypto.*;
    31 import javax.crypto.spec.*;
    31 import javax.crypto.spec.*;
    32 
    32 
    33 /**
    33 /**
    34  * This class implements the DESede algorithm (DES-EDE, tripleDES) in its various
    34  * This class implements the DESede algorithm (DES-EDE, tripleDES) in
    35  * modes (<code>ECB</code>, <code>CFB</code>, <code>OFB</code>,
    35  * its various modes (<code>ECB</code>, <code>CFB</code>, <code>OFB</code>,
    36  * <code>CBC</code>, <code>PCBC</code>) and padding schemes
    36  * <code>CBC</code>, <code>PCBC</code>) and padding schemes
    37  * (<code>PKCS5Padding</code>, <code>NoPadding</code>,
    37  * (<code>PKCS5Padding</code>, <code>NoPadding</code>,
    38  * <code>ISO10126Padding</code>).
    38  * <code>ISO10126Padding</code>).
    39  *
    39  *
    40  * @author Gigi Ankeny
    40  * @author Gigi Ankeny