Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit 1999edc

Browse files
committed
Adding warning deliberately breaking the code (warning not as comment)
1 parent 3d3f1a9 commit 1999edc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

libs/crypto/confidentialstring.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
<?php
2+
3+
IMPORTANT! Do not use this code. Static IVs and static keys are highly insecure. Also do not unserialize trusted objects
4+
Keys should be generated using secure random, and so should IVs.
5+
See https://gist.github.com/paragonie-scott/91893fdb18ee4d1a1b95
6+
27
namespace phpsec;
38

49

0 commit comments

Comments
 (0)