Search:

Type: Posts; User: Sir Galahad

Page 1 of 9 1 2 3 4

Search: Search took 0.01 seconds.

  1. Fancy input is certainly a nice feature, though...

    Fancy input is certainly a nice feature, though not usually really necessary in most cases. A more simplified format might help get things up and running in the meantime.

    Example using command...
  2. Replies
    14
    Views
    703

    Explicitly freeing a NULL pointer is pretty much...

    Explicitly freeing a NULL pointer is pretty much nonsensical anyway. There's nothing to delete!
  3. I may have been overthinking things just a bit....

    I may have been overthinking things just a bit. The most important thing seems to be the checking for all potential continuation sequences and such. I put together a simple verification program which...
  4. Replies
    8
    Views
    356

    Nice!

    Nice!
  5. Whoops, forgot the bounds checking step! ...

    Whoops, forgot the bounds checking step!




    bool output_utf8(const byte* utf8, size_t length) {
    const byte* end = utf8 + length;
    while (utf8 < end) {
    // Code Point Range Byte 1 ...
  6. That helps! Here's the current version then: ...

    That helps! Here's the current version then:





    #include <locale.h>
    #include <stdbool.h>
    #include <stdio.h>
    #include <stdlib.h>
  7. Right. Everybody wants more flexibility, better...

    Right. Everybody wants more flexibility, better multilingual support. But UTF-8 just isn't a very good solution. (In fact, it's 💩!) ASCII's not much better, but at least it's straightforward to...
  8. Well I'd be happy if it just worked reliably...

    Well I'd be happy if it just worked reliably across platforms.



    UTF-8 does allow arbitrary null bytes, so that won't be a problem.



    Even better. I ran some timing tests on it as well. No...
  9. This seems to work across the board so far. Just...

    This seems to work across the board so far. Just setting the LC_ALL locale parameter to an empty string!




    #include <locale.h>
    #include <stdbool.h>
    #include <stdio.h>
    #include <stdlib.h>...
  10. For what it's worth, I did find this...

    For what it's worth, I did find this https://www.unicode.org/Public/5.0.0/ucd/DerivedCoreProperties.txt



    Not the most tasty prospect, but if that is indeed a complete listing then I suppose I...
  11. Thank John, it works perfectly! Optimizations can...

    Thank John, it works perfectly! Optimizations can be done later anyway. :)





    #include <locale.h>
    #include <stdbool.h>
    #include <stdio.h>
    #include <stdlib.h>
  12. Interesting idea! Unfortunately, it doesn't work...

    Interesting idea! Unfortunately, it doesn't work very reliably. Windows handled it correctly, but Linux just seems confused. I was eventually able to get it to recognize them...after setting the...
  13. Detecting "letter-like" UTF-8 code points

    So I'm currently working on this project which I've already added some very rudimentary UTF-8 support. What I'd really like to do though is be able to detect code points which represent conceptual...
  14. Replies
    15
    Views
    1,912

    Alright, so I've incorporated the memory-hardness...

    Alright, so I've incorporated the memory-hardness parameter into each of the language implementations. It's an important addition I think, and doesn't seem to impact overall performance either.
  15. Replies
    15
    Views
    1,912

    I might also add that different values of...

    I might also add that different values of "rounds" and "cost" may result in the same hash for a given set of inputs (password and salt(s)). If "cost" is unspecified/zero then it will, if only...
  16. Replies
    15
    Views
    1,912

    Okay, so revised once again. This version is a...

    Okay, so revised once again. This version is a lot more straightforward though. The optimal skip distance is simply the cost divided by the average output length, plus one. It's stochastic enough to...
  17. Replies
    4
    Views
    367

    Scan past the colon and leading whitespace, then...

    Scan past the colon and leading whitespace, then copy the rest into a buffer. The strchr() function will take care of the first bit of the task:



    #include <stdio.h>
    #include <string.h>

    int...
  18. Replies
    15
    Views
    1,912

    No, it wasn't skipping in large enough steps....

    No, it wasn't skipping in large enough steps. Also had an indexing issue there. Fixed.
  19. Replies
    15
    Views
    1,912

    After a few days mulling over this, I think I've...

    After a few days mulling over this, I think I've finally found an acceptable solution. I've posted the updated (Javascript) implementation to the sandbox.

    Essentially, the algorithm works by...
  20. Replies
    15
    Views
    1,912

    Well that doesn't scale very well. Performing...

    Well that doesn't scale very well. Performing calculations on larger and larger operands just has too much effect on execution time. Request a cost of say 10,000,000 and there's no telling just how...
  21. Replies
    15
    Views
    1,912

    Thanks for the input, laserlight. I've created a...

    Thanks for the input, laserlight. I've created a set of "sandbox files" containing a memory-hard version of Finabel.

    Example usage:



    It was a simple modification actually, just increase the...
  22. Replies
    5
    Views
    784

    Unless you're unwilling to make a sincere effort,...

    Unless you're unwilling to make a sincere effort, don't expect help from anyone here.
  23. Replies
    15
    Views
    1,912

    For what it's worth, I went ahead and changed the...

    For what it's worth, I went ahead and changed the default number of rounds to 1000. It's a breaking change, but results roughly the same run time as scrypt and argon2.
  24. Replies
    15
    Views
    1,912

    Okay, so here's a comparison of finabel and...

    Okay, so here's a comparison of finabel and argon2:



    As you can see, argon2 is about 100 times slower. And the default number of rounds for that algorithm is actually just 2. Which basically...
  25. Replies
    15
    Views
    1,912

    Point taken, and I will definitely do some...

    Point taken, and I will definitely do some comparison tests to see how it fares against these as well.
Results 1 to 25 of 218
Page 1 of 9 1 2 3 4