<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>LFSR on</title><link>/tags/lfsr/</link><description>Recent content in LFSR on</description><generator>Hugo -- gohugo.io</generator><lastBuildDate>Thu, 17 Jul 2025 18:48:16 +0100</lastBuildDate><atom:link href="/tags/lfsr/index.xml" rel="self" type="application/rss+xml"/><item><title>End of a Beginning - SummerRush CTF</title><link>/post/sr25-eob/</link><pubDate>Thu, 17 Jul 2025 18:48:16 +0100</pubDate><guid>/post/sr25-eob/</guid><description>Click to expand challenge code
package main import ( &amp;quot;bufio&amp;quot; &amp;quot;crypto/rand&amp;quot; &amp;quot;encoding/hex&amp;quot; &amp;quot;fmt&amp;quot; &amp;quot;log&amp;quot; &amp;quot;math/big&amp;quot; &amp;quot;net&amp;quot; &amp;quot;strings&amp;quot; ) const LEN = 31 const MASK = (1 &amp;lt;&amp;lt; LEN) - 1 const FLAG = &amp;quot;FL1TZ{?????????????????????????????}&amp;quot; var taps1 = []int{/*?, ?, ?, ?*/} var taps2 = []int{/*?, ?, ?, ?*/} type LFSR struct { state uint64 taps []int count int } func (l *LFSR) rekey(newseed uint64) { l.state = newseed } func newLFSR(taps []int) *LFSR { seed := genRandSeed() return &amp;amp;LFSR{state: seed, taps: taps} } func (l *LFSR)lfsrStep() uint8 { feedback := uint64(0) if l.</description></item></channel></rss>