Skip to content

Commit

Permalink
Create UtilsModule.java
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 31, 2024
1 parent 7523b3d commit 50ae636
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions modules/utils/UtilsModule.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package com.nexusinfinitycore.modules.utils;

public class UtilsModule {
public String getFormattedString(String input) {
return String.format("Formatted string: %s", input);
}

public String encrypt(String data, String key) {
// Implement encryption using AES-256-CBC
return "Encrypted data";
}

public String decrypt(String data, String key) {
// Implement decryption using AES-256-CBC
return "Decrypted data";
}
}

0 comments on commit 50ae636

Please sign in to comment.