2
0

Refactor masterpassword-model

This commit is contained in:
Maarten Billemont
2018-05-15 13:53:27 -04:00
parent 8d7c351912
commit bda1ac3bd4
34 changed files with 878 additions and 650 deletions

View File

@@ -5,10 +5,10 @@ plugins {
description = 'Master Password Algorithm Implementation'
dependencies {
compile( group: 'com.lyndir.lhunath.opal', name: 'opal-system', version: '1.6-p11' ) {
compile( group: 'com.lyndir.lhunath.opal', name: 'opal-system', version: 'GIT-SNAPSHOT' ) {
exclude( module: 'joda-time' )
}
compile group: 'com.lyndir.lhunath.opal', name: 'opal-crypto', version: '1.6-p11'
compile group: 'com.lyndir.lhunath.opal', name: 'opal-crypto', version: 'GIT-SNAPSHOT'
compile group: 'com.lambdaworks', name: 'scrypt', version: '1.4.0'
compile 'com.fasterxml.jackson.core:jackson-annotations:2.9.5'

View File

@@ -59,7 +59,7 @@ public abstract class MPAlgorithm {
/**
* mpw: defaults: password result type.
*/
public abstract MPResultType mpw_default_password_type();
public abstract MPResultType mpw_default_result_type();
/**
* mpw: defaults: login result type.

View File

@@ -247,7 +247,7 @@ public class MPAlgorithmV0 extends MPAlgorithm {
}
@Override
public MPResultType mpw_default_password_type() {
public MPResultType mpw_default_result_type() {
return MPResultType.GeneratedLong;
}