Of Questionable Relevancy
open-menucloseme
  • Golden Ticket

    calendar Aug 18, 2024 · 2 min read · ctfs math  ·
    Share on: twitter facebook linkedin copy

    Golden Ticket (idek 2024) So we’re given the following: from Crypto.Util.number import * #Some magic from Willy Wonka def chocolate_generator(m:int) -> int: p = …


    Read More
  • Fixed Points for RSA
    You’ve forgotten the essence of factoring.

    calendar Jan 27, 2024 · 2 min read · Number Theory math  ·
    Share on: twitter facebook linkedin copy

    Suppose that you were merrily encrypting your data and sending them to your friend whose public key he gave you and you happen to find some data that remains unchanged after exponentiation. That is, you have found a number $x$ such that $x^e=x \mod n$. You can now factor their number. Now if you’re like me, you …


    Read More
  • Systems of Xor
    How likely is a random matrix over $\mathbb{Z}_2$ to be invertible?

    calendar Oct 23, 2023 · 3 min read · math ctfs  ·
    Share on: twitter facebook linkedin copy

    In a recent CTF, we were given the ability to obtain the signatures of arbitrary messages, and we were given the signature of the flag.


    Read More
  • Eclairs
    Any problem can be a linear problem if it tries hard and believes in itself.

    calendar Oct 17, 2023 · 6 min read · math ctfs  ·
    Share on: twitter facebook linkedin copy

    A problem from TCP1P Ctf.


    Read More
  • Vectorspace vs lattice

    calendar Sep 21, 2023 · 1 min read · math number theory lattices  ·
    Share on: twitter facebook linkedin copy

    So given a collection of linearly independent vectors $$v_1, v_2, \ldots, v_n$$ we can form the n dimensional vector space with the above collection of $v_i$ as our basis. In fact, we basically define the dimension of a Vector space by the size of the smallest set of vectors that span the space. Importantly, given any …


    Read More
  • The SHA of this tweet

    calendar Sep 11, 2023 · 2 min read · math probability  ·
    Share on: twitter facebook linkedin copy

    So there’s this cool tweet:

    Sha Tweet


    Read More
  • Index Calculus

    calendar May 16, 2023 · 3 min read · Number Theory math  ·
    Share on: twitter facebook linkedin copy

    Alright, so it turns out that Pari doesn’t use just pohlig helman, or rather it doesn’t proceed use Baby Step Giant Step or Pohlard Rho for the discrete log step on the reduced prime (I’ll probably do a write up for those later, they’re cool!)

    Rather, it uses the Index Calculus.


    Read More

Recent Posts

  • Golden Ticket
  • B4B8
  • Fixed Points for RSA
  • binfmt_misc and WSL
  • Gdb autoloading of local .gdbinit files
  • Systems of Xor
  • Eclairs
  • Extcap

Categories

NUMBER THEORY 2

Tags

MATH 7 CTFS 3 HACKING 3 NOTES 3 NUMBER THEORY 3 HARDWARE 2 NETWORKING 2 GDB 1 HACK THE BOX 1 LATTICES 1 PROBABILITY 1 ZIG 1
Of Questionable Relevancy

Copyright  OF QUESTIONABLE RELEVANCY. All Rights Reserved

to-top