1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 14:55:08 +00:00
serenity/Libraries/LibCrypto/Cipher
asynts fff581cd72 AK: Rename span() to bytes() when appropriate.
I originally defined the bytes() method for the String class, because it
made it obvious that it's a span of bytes instead of span of characters.

This commit makes this more consistent by defining a bytes() method when
the type of the span is known to be u8.

Additionaly, the cast operator to Bytes is overloaded for ByteBuffer and
such.
2020-08-15 21:21:18 +02:00
..
Mode LibCrypto+LibTLS+Kernel: Switch the Cipher::Mode interface to use Span 2020-08-11 21:37:10 +02:00
AES.cpp LibCrypto+LibTLS+Kernel: Switch the Cipher::Mode interface to use Span 2020-08-11 21:37:10 +02:00
AES.h AK: Rename span() to bytes() when appropriate. 2020-08-15 21:21:18 +02:00
Cipher.h AK: Rename span() to bytes() when appropriate. 2020-08-15 21:21:18 +02:00