Skip to content
This repository was archived by the owner on Oct 18, 2020. It is now read-only.

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjoongcho committed Mar 27, 2018
1 parent 0d2fcb4 commit 2c3dd41
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/src/main/java/io/github/hanjoongcho/utils/AesUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ import io.github.hanjoongcho.easypassword.R
*/

class AesUtils {

companion object {

// Define salt string from GenerateSaltString test case
// Generated salt string must be 172 characters
const val SALT_STRING = "RjaXrZURG40sMzDlVjaRKIdCT7vfok1u8gAOmwnaedDUpyAENeDTCWnc62y33seezkdqzXhAnDqzrTi+mvvDIRHYdLVllQmhXmUbFAnwyG9jkWgWkfk49ieM6QsM7LcsFU79auMK84ELHRQT1pj0ABJnDFVokePKA3C6wysd6P8="
const val SALT_STRING = ""

fun encryptPassword(context: Context, plainText: String): String = when (plainText) {
"" -> ""
Expand Down

0 comments on commit 2c3dd41

Please sign in to comment.