Images 💾

Last commit ⭐

commit 48a3a02238a4cbb631d9bb24f93ffd19d1272b00
Author:     Tim Ledbetter <timledbetter@gmail.com>
AuthorDate: Fri Jan 12 21:34:23 2024 +0000
Commit:     Andrew Kaster <akaster@serenityos.org>
CommitDate: Sat Jan 13 19:01:35 2024 -0700

    LibCrypto: Make constructing a BigInteger from string fallible
    
    Previously, constructing a `UnsignedBigInteger::from_base()` could
    produce an incorrect result if the input string contained a valid
    Base36 digit that was out of range of the given base. The same method
    would also crash if the input string contained an invalid Base36 digit.
    An error is now returned in both these cases.
    
    Constructing a BigFraction from string is now also fallible, so that we
    can handle the case where we are given an input string with invalid
    digits.