Browse Source

Removing setIterations() commented lines from examples. We do not want to encourage people to use this.

Curtis Farnham 4 years ago
parent
commit
6155afba39
2 changed files with 0 additions and 4 deletions
  1. 0 2
      examples/decrypt.php
  2. 0 2
      examples/encrypt.php

+ 0 - 2
examples/decrypt.php

@@ -8,8 +8,6 @@ $base64Encrypted = "AgGXutvFqW9RqQuokYLjehbfM7F+8OO/2sD8g3auA+oNCQFoarRmc59qcKJv
     . 'EN7Cv";
 
 $cryptor = new \RNCryptor\RNCryptor\Decryptor;
-
-//$cryptor->setIterations(100);
 $plaintext = $cryptor->decrypt($base64Encrypted, $password);
 
 echo "Base64 Encrypted:\n$base64Encrypted\n\n";

+ 0 - 2
examples/encrypt.php

@@ -6,8 +6,6 @@ $password = "myPassword";
 $plaintext = "Here is my test vector. It's not too long, but more than a block and needs padding.";
 
 $cryptor = new \RNCryptor\RNCryptor\Encryptor;
-
-//$cryptor->setIterations(100);
 $base64Encrypted = $cryptor->encrypt($plaintext, $password);
 
 echo "Plaintext:\n$plaintext\n\n";