1 2 29 30 package com.jcraft.jsch; 31 32 public class CipherNone implements Cipher{ 33 private static final int ivsize=8; 34 private static final int bsize=16; 35 public int getIVSize(){return ivsize;} 36 public int getBlockSize(){return bsize;} 37 public void init(int mode, byte[] key, byte[] iv) throws Exception { 38 } 39 public void update(byte[] foo, int s1, int len, byte[] bar, int s2) throws Exception { 40 } 41 } 42 | Popular Tags |