UOC Submission System
0.6.0
jvm
UOC Submission System
/
edu.uoc.allago.uocsubmissionsystem
/
CipherTools
Cipher
Tools
open
class
CipherTools
Provides functionality for encrypting and decrypting files using AES encryption.
Members
Constructors
Cipher
Tools
Link copied to clipboard
constructor
(
)
Constructor that initializes the password from the config.properties file.
Functions
decrypt
File
Link copied to clipboard
open
fun
decryptFile
(
file
:
String
)
Decrypts a single file.
decrypt
Project
Link copied to clipboard
open
fun
decryptProject
(
basePath
:
String
)
:
Int
Decrypts all eligible ".uoc" files in a project directory, except "uoc.data".
encrypt
File
Link copied to clipboard
open
fun
encryptFile
(
file
:
String
)
Encrypts a single file.
encrypt
Project
Link copied to clipboard
open
fun
encryptProject
(
basePath
:
String
)
Encrypts all eligible files in a project directory.