Skip to content

Commit d2dbba0

Browse files
committed
typo
1 parent d709a60 commit d2dbba0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Encryption.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public static function encrypt($payload, $userPublicKey, $userAuthToken, $native
111111
*
112112
* @param $salt string A non-secret random value
113113
* @param $ikm string Input keying material
114-
* @param $info string Application-specfic context
114+
* @param $info string Application-specific context
115115
* @param $length int The length (in bytes) of the required output key
116116
* @return string
117117
*/
@@ -143,7 +143,7 @@ private static function createContext($clientPublicKey, $serverPublicKey)
143143

144144
// This one should never happen, because it's our code that generates the key
145145
if (strlen($serverPublicKey) !== 65) {
146-
throw new \ErrorException('Invalid server public key length');
146+
throw new \ErrorException('Invalid server public key length');
147147
}
148148

149149
return chr(0).strlen($clientPublicKey).$clientPublicKey.strlen($serverPublicKey).$serverPublicKey;

0 commit comments

Comments
 (0)