Examples of CFBBlockCipher


Examples of org.bouncycastle.crypto.modes.CFBBlockCipher

    static public class IDEA_CFB8
        extends JCEStreamCipher
    {
        public IDEA_CFB8()
        {
            super(new CFBBlockCipher(new IDEAEngine(), 8), 64);
        }
View Full Code Here

Examples of org.bouncycastle.crypto.modes.CFBBlockCipher

    static public class DES_CFB8
        extends JCEStreamCipher
    {
        public DES_CFB8()
        {
            super(new CFBBlockCipher(new DESEngine(), 8), 64);
        }
View Full Code Here

Examples of org.bouncycastle.crypto.modes.CFBBlockCipher

    static public class DESede_CFB8
        extends JCEStreamCipher
    {
        public DESede_CFB8()
        {
            super(new CFBBlockCipher(new DESedeEngine(), 8), 64);
        }
View Full Code Here

Examples of org.bouncycastle.crypto.modes.CFBBlockCipher

    static public class Skipjack_CFB8
        extends JCEStreamCipher
    {
        public Skipjack_CFB8()
        {
            super(new CFBBlockCipher(new SkipjackEngine(), 8), 64);
        }
View Full Code Here

Examples of org.bouncycastle.crypto.modes.CFBBlockCipher

    static public class Blowfish_CFB8
        extends JCEStreamCipher
    {
        public Blowfish_CFB8()
        {
            super(new CFBBlockCipher(new BlowfishEngine(), 8), 64);
        }
View Full Code Here

Examples of org.bouncycastle.crypto.modes.CFBBlockCipher

    static public class Twofish_CFB8
        extends JCEStreamCipher
    {
        public Twofish_CFB8()
        {
            super(new CFBBlockCipher(new TwofishEngine(), 8), 128);
        }
View Full Code Here

Examples of org.bouncycastle.crypto.modes.CFBBlockCipher

    static public class IDEA_CFB8
        extends JCEStreamCipher
    {
        public IDEA_CFB8()
        {
            super(new CFBBlockCipher(new IDEAEngine(), 8), 64);
        }
View Full Code Here

Examples of org.bouncycastle.crypto.modes.CFBBlockCipher

            if (modeName.length() != 3)
            {
                int wordSize = Integer.parseInt(modeName.substring(3));

                cipher = new PaddedBufferedBlockCipher(
                                new CFBBlockCipher(baseEngine, wordSize));
            }
            else
            {
                cipher = new PaddedBufferedBlockCipher(
                        new CFBBlockCipher(baseEngine, 8 * baseEngine.getBlockSize()));
            }
        }
        else if (modeName.startsWith("PGP"))
        {
            if (modeName.equalsIgnoreCase("PGPCFBwithIV"))
View Full Code Here

Examples of org.bouncycastle.crypto.modes.CFBBlockCipher

    static public class AESCFB
        extends JCEBlockCipher
    {
        public AESCFB()
        {
            super(new CFBBlockCipher(new AESFastEngine(), 128), 128);
        }
View Full Code Here

Examples of org.bouncycastle.crypto.modes.CFBBlockCipher

    {
        BufferedBlockCipher c;

        if (withIntegrityPacket)
        {
            c = new BufferedBlockCipher(new CFBBlockCipher(engine, engine.getBlockSize() * 8));
        }
        else
        {
            c = new BufferedBlockCipher(new OpenPGPCFBBlockCipher(engine));
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.