mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 19:59:05 +01:00
Modify IdenticonBase to use Briar's hashing and to use byte[] instead of String
This commit is contained in:
@@ -49,11 +49,15 @@ abstract public class IdenticonView extends View {
|
||||
}
|
||||
}
|
||||
|
||||
public void show(String input) {
|
||||
public void show(byte[] input) {
|
||||
getDelegate().show(input);
|
||||
invalidate();
|
||||
}
|
||||
|
||||
public void show(String input) {
|
||||
show(input.getBytes());
|
||||
}
|
||||
|
||||
public void show(int input) {
|
||||
show(String.valueOf(input));
|
||||
}
|
||||
@@ -71,7 +75,7 @@ abstract public class IdenticonView extends View {
|
||||
}
|
||||
|
||||
public void show(byte input) {
|
||||
show(String.valueOf(input));
|
||||
show(new byte[] { input });
|
||||
}
|
||||
|
||||
public void show(char input) {
|
||||
|
||||
Reference in New Issue
Block a user