Registry / crypto / plexus-cipher

plexus-cipher

JSON →
library1.0.0javamavenunverified

Plexus component for encrypting and decrypting strings using a passphrase.

<dependency> <groupId>org.sonatype.plexus</groupId> <artifactId>plexus-cipher</artifactId> <version>1.0.0</version> </dependency>
INSTALL
IMPORT
SIG · PLEXUS-CIPHER
P
plexus-cipher
cryptojavav1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PlexusCipher
org.sonatype.plexus.components.cipher.PlexusCipher

Encrypts and decrypts a string using a passphrase.

import org.sonatype.plexus.components.cipher.PlexusCipher; import org.sonatype.plexus.components.cipher.PlexusCipherException; public class Example { public static void main(String[] args) throws PlexusCipherException { PlexusCipher cipher = new PlexusCipher(); String encrypted = cipher.encrypt("mySecret", "passphrase"); System.out.println("Encrypted: " + encrypted); String decrypted = cipher.decrypt(encrypted, "passphrase"); System.out.println("Decrypted: " + decrypted); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Amazon
1
Resources
plexus-cipher — mvn dependency:get plexus-cipher · libregistry