Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wajahat Ch
Pod
Commits
d06569fc
Unverified
Commit
d06569fc
authored
3 years ago
by
Vasili Novikov
Browse files
Options
Download
Plain Diff
Merge branch 'dev' into pin-docker-base-image
parents
38fd7a9c
f4f9544d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugin_auth_crypto.rs
+1
-1
src/plugin_auth_crypto.rs
with
1 addition
and
1 deletion
+1
-1
src/plugin_auth_crypto.rs
+
1
-
1
View file @
d06569fc
...
...
@@ -9,9 +9,9 @@ use chacha20poly1305::Key;
use
chacha20poly1305
::
XChaCha20Poly1305
;
use
chacha20poly1305
::
XNonce
;
use
rusqlite
::
Connection
;
use
std
::
ops
::
Not
;
use
warp
::
hyper
::
StatusCode
;
use
zeroize
::
Zeroize
;
use
std
::
ops
::
Not
;
pub
fn
generate_xchacha20poly1305_cipher
()
->
XChaCha20Poly1305
{
let
key
:
[
u8
;
32
]
=
rand
::
random
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets