2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-10-13 14:16:03 +00:00

Improve phrases and icons in passport.

This commit is contained in:
John Preston
2018-04-12 14:20:54 +04:00
parent 9142313a6b
commit c20cf243db
19 changed files with 394 additions and 109 deletions

View File

@@ -31,8 +31,10 @@ AesParams PrepareAesParams(bytes::const_span bytesForEncryptionKey) {
const auto view = gsl::make_span(hash);
auto result = AesParams();
result.key = bytes::make_vector(view.subspan(0, kAesKeyLength));
result.iv = bytes::make_vector(view.subspan(kAesKeyLength, kAesIvLength));
result.key = bytes::make_vector(
view.subspan(0, kAesKeyLength));
result.iv = bytes::make_vector(
view.subspan(kAesKeyLength, kAesIvLength));
return result;
}