MCPcopy Create free account
hub / github.com/0opslab/opslabJutil / init

Method init

src/main/java/com/opslab/util/encrypt/Blowfish.java:306–310  ·  view source on GitHub ↗
(final boolean encrypting, final byte[] key)

Source from the content-addressed store, hash-verified

304 }
305
306 public void init(final boolean encrypting, final byte[] key) {
307 this.encrypting = encrypting;
308 this.workingKey = key;
309 setKey(this.workingKey);
310 }
311
312 public byte[] encrypt(final String input) {
313 try {

Callers 11

encryptMethod · 0.95
decryptMethod · 0.95
encryptMethod · 0.80
decodeMethod · 0.80
AESEncodeMethod · 0.80
AESDncodeMethod · 0.80
decryptByPrivateKeyMethod · 0.80
decryptByPublicKeyMethod · 0.80
encryptByPublicKeyMethod · 0.80
encryptByPrivateKeyMethod · 0.80

Calls 1

setKeyMethod · 0.95

Tested by

no test coverage detected