Skip to content

Commit 2d81a84

Browse files
committed
change
1 parent c3e9517 commit 2d81a84

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@ method is not recommended, but if you tend to use it, it would be a better
135135
practice to choose a "strong password".
136136

137137
A strong password:
138-
* has at least 12 characters;
139-
140-
* includes lowercase letters (a-z), uppercase letters (A-Z), digits (0-9) and
141-
symbols (e.g. !, #, $, % and });
138+
* has at least 12 characters;
139+
140+
* includes lowercase letters (a-z), uppercase letters (A-Z), digits (0-9) and
141+
symbols (e.g. !, #, $, % and });
142142

143-
* is not a character repetition (e.g. zzzzzz), keyboard pattern (e.g. qwerty)
144-
or digit sequences (e.g. 123456).
143+
* is not a character repetition (e.g. zzzzzz), keyboard pattern (e.g. qwerty)
144+
or digit sequences (e.g. 123456).
145145

146146
The second method to make a key file is using the "keygen" program, which
147147
automatically provides a strong password. Running
@@ -154,7 +154,7 @@ Enter a password, then press 'Enter':
154154
```
155155
After typing a raw password, e.g. "A keygen raw pass!", and pressing "Enter",
156156
the following message appears:
157-
```
157+
```text
158158
Enter a file name to save the generated key, then press 'Enter':
159159
```
160160
The automatically generated strong password will be saved in the file that you
@@ -176,19 +176,19 @@ and
176176

177177
## CITE
178178
Please cite the followings, if you use Cryfa:
179-
* M. Hosseini, D. Pratas and A.J. Pinho, "Cryfa: a secure encryption tool for genomic
180-
data,"*Bioinformatics*, bty645, 2018.
179+
* M. Hosseini, D. Pratas and A.J. Pinho, "Cryfa: a secure encryption tool for
180+
genomic data, "*Bioinformatics*, bty645, 2018.
181181

182-
* D. Pratas, M. Hosseini and A.J. Pinho, "Cryfa: a tool to compact and encrypt
183-
FASTA files," *11'th International Conference on Practical Applications of
184-
Computational Biology & Bioinformatics* (PACBB), Springer, June 2017.
182+
* D. Pratas, M. Hosseini and A.J. Pinho, "Cryfa: a tool to compact and encrypt
183+
FASTA files," *11'th International Conference on Practical Applications of
184+
Computational Biology & Bioinformatics* (PACBB), Springer, June 2017.
185185

186186
## RELEASES
187-
* [Release](https://github.com/pratas/cryfa/releases) 2: Secure encryption of
188-
FASTA/FASTQ/VCF/SAM/BAM PLUS compacting FASTA/FASTQ.
187+
* [Release](https://github.com/pratas/cryfa/releases) 2: Secure encryption of
188+
FASTA/FASTQ/VCF/SAM/BAM PLUS compacting FASTA/FASTQ.
189189

190-
* [Release](https://github.com/pratas/cryfa/releases) 1: Encryption PLUS compacting
191-
FASTA.
190+
* [Release](https://github.com/pratas/cryfa/releases) 1: Encryption PLUS compacting
191+
FASTA.
192192

193193
## ISSUES
194194
Please let us know if there is any

script/res_comp.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ function compDecompRes
5252

5353
### Verify if the decompressed and the original files are equal
5454
v_file="$result/${1}_V__${dName}_$ft"
55-
if [[ -e $v_file ]]; then V=$(cat $v_file | wc -l); fi
55+
if [[ -e $v_file ]]; then V=$(wc -l $v_file); fi
5656

5757
### Remove extra files
5858
for xf in $cs_file $cm_file $dm_file; do

script/res_comp_enc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ function compEncDecDecompRes
8484

8585
### Verify if the decompressed and the original files are equal
8686
v_file="$result/${1}_${2}_V__${dName}_$ft"
87-
if [[ -e $v_file ]]; then V=$(cat $v_file | wc -l); fi
87+
if [[ -e $v_file ]]; then V=$(wc -l $v_file); fi
8888

8989
### Remove extra files
9090
for xf in $cs_file $cm_file $dem_file $dm_file $enm_file $ens_file; do

script/res_cryfa_thr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function cryfaThrRes
5050

5151
### Verify if the decompressed and the original files are equal
5252
v_file="$result/${1}_${nThr}_V__${2}_$3"
53-
if [[ -e $v_file ]]; then V=$(cat $v_file | wc -l); fi
53+
if [[ -e $v_file ]]; then V=$(wc -l $v_file); fi
5454

5555
### Remove extra files
5656
for xf in $cs_file $cm_file $dm_file; do

script/res_enc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function encDecRes
2424

2525
### Encrypted file size
2626
ens_file="$result/${1}_EnS__${dName}_$ft"
27-
if [[ -e $ens_file ]]; then EnS=$(cat $ens_file | awk '{ print $5; }'); fi
27+
if [[ -e $ens_file ]]; then EnS=$(awk '{ print $5; }' $ens_file); fi
2828

2929
### Encryption time -- real - user - system
3030
ent_file="$result/${1}_EnT__${dName}_$ft"

0 commit comments

Comments
 (0)