类 Cipher


  • public class Cipher
    extends java.lang.Object
    Cipher
    从以下版本开始:
    2022/08/31
    作者:
    jiangcs
    • 构造器概要

      构造器 
      构造器 说明
      Cipher()  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void decrypt​(byte[] data)  
      void doFinal​(byte[] outBytes)  
      void encrypt​(byte[] data)  
      void initDec​(java.math.BigInteger userD, org.bouncycastle.math.ec.ECPoint ecPointC1)  
      org.bouncycastle.math.ec.ECPoint initEnc​(Sm2 sm2, org.bouncycastle.math.ec.ECPoint userKey)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • Cipher

        public Cipher()
    • 方法详细资料

      • initEnc

        public org.bouncycastle.math.ec.ECPoint initEnc​(Sm2 sm2,
                                                        org.bouncycastle.math.ec.ECPoint userKey)
      • encrypt

        public void encrypt​(byte[] data)
      • initDec

        public void initDec​(java.math.BigInteger userD,
                            org.bouncycastle.math.ec.ECPoint ecPointC1)
      • decrypt

        public void decrypt​(byte[] data)
      • doFinal

        public void doFinal​(byte[] outBytes)