How does the seed and the key work

SEED

The program will create the file :                  Kodbild/src/seed_1.txt

The content of this file is a long list of numbers like :

280537133830361855686071626259752725391585046315900571675036263893837083236864……………etc

How to get these numbers: 

The passphrase is : secret

First Loop
SHA256 hash from "secret" is:

$ echo -n "secret" | shasum -a 256

2bb80d537b1da3e38bd30361aa855686bde0eacd7162fef6a25fe97bf527a25b

after filtering the numbers: 280537133830361855686071626259752725

This number will be append in seed_1.txt


Second loop
SHA256 hash from the last hash 

$ echo -n "280537133830361855686071626259752725" | shasum -a 256

Result:
bf067b7c48bc8138b312bea2da08a06cf8b3efc58a4df76a098b1f52eddafe78

after filtering the numbers: 067748813831220806835847609815278

This number will be append in seed_1.txt


Third loop
SHA256 hash from the last hash
$ echo -n "067748813831220806835847609815278" | shasum -a 256 

Result:
f43fb8fe95f16e9df5e781e9afb78862a4db57c179869267499dadcbe84179c9

after filtering the numbers:
438951695781978862457179869267499841799

Append in txt file
...
...
...
And so on.

KEY

The keys are created using the numbers in the files seed_1.txt.

Milky_way