mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 20:30:35 +00:00
Fixed issues encryption screen
This commit is contained in:
parent
c13ba9e725
commit
759c977975
6 changed files with 54 additions and 10 deletions
|
@ -9,4 +9,8 @@ String encodeBase64UserPass(String user, String pass) {
|
|||
String encodeBase64(String value) {
|
||||
Codec<String, String> stringToBase64 = utf8.fuse(base64);
|
||||
return stringToBase64.encode(value);
|
||||
}
|
||||
|
||||
String decodeBase64(String value) {
|
||||
return utf8.decode(base64.decode(value));
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue