Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
DCPCrypt Limit
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[SOLVED] How to get rid o...
by
Nevada Smith
[
Today
at 08:48:20 pm]
bug on online package man...
by
calebs
[
Today
at 08:34:05 pm]
msgrcv only succeeds if m...
by
TCH
[
Today
at 07:26:35 pm]
What is the best free pot...
by
Alienizering
[
Today
at 06:53:59 pm]
backconnect sock proxy ? ...
by
ZainPeck
[
Today
at 05:50:54 pm]
LazReport: Error using Hi...
by
luca
[
Today
at 05:39:29 pm]
[SOLVED] TPointF Not Foun...
by
J-G
[
Today
at 04:41:43 pm]
How can i run application...
by
rvk
[
Today
at 03:42:58 pm]
Optimizing the counter co...
by
BrunoK
[
Today
at 03:39:06 pm]
LAMW - "This app has a bu...
by
Mongkey
[
Today
at 01:50:42 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: DCPCrypt Limit (Read 3216 times)
Pe3s
Full Member
Posts: 145
DCPCrypt Limit
«
on:
November 28, 2021, 10:06:46 am »
It is possible to bypass the sha1 limit
Logged
AlexTP
Hero Member
Posts: 1765
Re: DCPCrypt Limit
«
Reply #1 on:
November 28, 2021, 11:46:36 am »
Really? That is very good.
Logged
CudaText editor
-
ATSynEdit
-
More from me
Pe3s
Full Member
Posts: 145
Re: DCPCrypt Limit
«
Reply #2 on:
November 28, 2021, 11:54:09 am »
What am I doing wrong with not encoding more memo content ?????
Code: Pascal
[Select]
[+]
[-]
var
i
:
Integer
;
Cipher
:
TDCP_rc4
;
begin
if
InputQuery
(
'Password'
,
'Enter password'
,
KeyStr
)
then
begin
Cipher
:
=
TDCP_rc4
.
Create
(
Self
)
;
Cipher
.
InitStr
(
KeyStr
,
TDCP_sha1
)
;
for
i
:
=
0
to
Memo1
.
Lines
.
Count
-
1
do
begin
Memo1
.
Lines
[
i
]
:
=
Cipher
.
EncryptString
(
Memo1
.
Lines
[
i
]
)
;
end
;
Cipher
.
Burn
;
Cipher
.
Free
;
end
;
«
Last Edit: November 28, 2021, 06:10:54 pm by Pe3s
»
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
DCPCrypt Limit
TinyPortal
© 2005-2018