🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.security
Article #64044

iv

#64044
From: Piotr J. Kolanok
Date: Thu, 03 Dec 2009 09:17
21 lines
1806 bytes
Jak się generuje iv z hasła?
$echo -n "0123456789abcdef" | openssl enc -aes-256-cbc -nosalt -P
enter aes-256-cbc encryption password:
Verifying - enter aes-256-cbc encryption password:
key=0CC175B9C0F1B6A831C399E269772661CEC520EA51EA0A47E87295FA3245A605
iv =4FA92C5873672E20FB163A0BCB2BB4A4

hasło 'a'
przy 128 bitach to jest chyba md5
$echo -n 'a' | openssl md5 
0cc175b9c0f1b6a831c399e269772661

-K ale dalej?
Może jakis inny tryb uzyć? A jak wygenerować iv? Szukałem w źródłach, ale 
nie znalazłem. To jest inne dla każdego trybu?

A salt jak sie generuje? to po prostu losowe? czy jednak zależne od czasu 
albo jakas funkcja unikalna?

-- 
^^
Technical Details
Message-ID: <hf808r$idf$1@nemesis.news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!news.underley.eu.org!moderators!marcinw

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!news.nask.pl!news.nask.org.pl!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!news.underley.eu.org!moderators!marcinw
From: "Piotr J. Kolanok" <kolano0123@m0.mx.poczta.tlen.pl>
Newsgroups: pl.comp.security
Subject: iv
Followup-To: pl.comp.security
Date: Thu, 03 Dec 2009 10:17:49 +0100
Organization: TP - http://www.tp.pl/
Lines: 22
Message-ID: <hf808r$idf$1@nemesis.news.neostrada.pl>
NNTP-Posting-Host: ghostwheel.underley.eu.org
Mime-Version: 1.0
X-Trace: nemesis.news.neostrada.pl 1259832411 18863 95.49.15.91 (3 Dec 2009 09:26:51 GMT)
X-Complaints-To: usenet@news.neostrada.pl
NNTP-Posting-Date: Thu, 3 Dec 2009 09:26:51 +0000 (UTC)
User-Agent: KNode/0.99.01
X-Moder-Tool: ModerGate.pl v3.0 (c) 2008 Daniel Podlejski
X-Orig-NNTP-Posting-Host: afap91.neoplus.adsl.tpnet.pl
X-Orig-Newsgroups: pl.comp.security
Approved: marcinw.pcs@gmail.com
X-Post-Key: 82619baf4a9b202e51d25d7d7c01e6bb
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit