ClassName : HC256.java

GroupId : org.bouncycastle
ArtifactId : bcprov-jdk16
Version : 1.46

Package : org.bouncycastle.jce.provider.symmetric
Artifact Date : 23.02.2011

Available classes in package :

- CLassName
- Number of lines / Size ~
- BCObjectIdentifiers
- 53 / 2.52 KB
- CAKeyUpdAnnContent
- 75 / 1.95 KB
- CMPCertificate
- 94 / 2.46 KB
- CMPObjectIdentifiers
- 108 / 6.16 KB
- CRLAnnContent
- 57 / 1.25 KB
- CertConfirmContent
- 56 / 1.21 KB
- CertOrEncCert
- 98 / 2.40 KB
- CertRepMessage
- 125 / 3.14 KB
- CertResponse
- 141 / 3.89 KB
- CertStatus
- 104 / 2.67 KB

Package = org.bouncycastle.jce.provider.symmetric, Class Name = HC256

			 package org.bouncycastle.jce.provider.symmetric;

import java.util.HashMap;

import org.bouncycastle.crypto.CipherKeyGenerator;
import org.bouncycastle.crypto.engines.HC256Engine;
import org.bouncycastle.jce.provider.JCEKeyGenerator;
import org.bouncycastle.jce.provider.JCEStreamCipher;

public final class HC256
{
    private HC256()
    {
    }
    
    public static class Base
        extends JCEStreamCipher
    {
        public Base()
        {
            super(new HC256Engine(), 32);
        }
    }

    public static class KeyGen
        extends JCEKeyGenerator
    {
        public KeyGen()
        {
            super("HC256", 256, new CipherKeyGenerator());
        }
    }

    public static class Mappings
        extends HashMap
    {
        public Mappings()
        {
            put("Cipher.HC256", "org.bouncycastle.jce.provider.symmetric.HC256$Base");
            put("KeyGenerator.HC256", "org.bouncycastle.jce.provider.symmetric.HC256$KeyGen");
        }
    }
}