|
|
@@ -111,9 +111,16 @@ public class SignUpModel extends Model {
|
|
|
}
|
|
|
|
|
|
|
|
|
+ /**
|
|
|
+ * 핀 저장
|
|
|
+ *
|
|
|
+ * @param pin
|
|
|
+ */
|
|
|
public void savePin(String pin) {
|
|
|
try {
|
|
|
- SuperModel.getInstance().getPreferences().setEncryptedPin(StringUtil.convertToSHA256(StringUtil.convertToMD5(pin)));
|
|
|
+ String encryptedPin = StringUtil.convertToSHA256(StringUtil.convertToMD5(pin));
|
|
|
+ Log.i("APP# SignUpModel | savePin", "| pin: " + pin + ", encryptedPin: " + encryptedPin);
|
|
|
+ SuperModel.getInstance().getPreferences().setEncryptedPin(encryptedPin);
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
}
|