@@ -41,7 +41,6 @@ Library for use openPGP with support for android, ios, macos, windows, linux and
41
41
42
42
## Generate methods
43
43
``` dart
44
- import 'package:openpgp/openpgp.dart';
45
44
46
45
void main() async {
47
46
var keyOptions = KeyOptions()..rsaBits = 2048;
@@ -57,7 +56,6 @@ void main() async {
57
56
### Encrypt methods
58
57
59
58
``` dart
60
- import 'package:fast_rsa/rsa.dart';
61
59
62
60
void main() async {
63
61
var bytesSample = Uint8List.fromList('data'.codeUnits);
@@ -74,7 +72,6 @@ void main() async {
74
72
### Decrypt methods
75
73
76
74
``` dart
77
- import 'package:fast_rsa/rsa.dart';
78
75
79
76
void main() async {
80
77
var bytesSample = Uint8List.fromList('data'.codeUnits);
@@ -90,7 +87,6 @@ void main() async {
90
87
### Sign methods
91
88
92
89
``` dart
93
- import 'package:fast_rsa/rsa.dart';
94
90
95
91
void main() async {
96
92
var bytesSample = Uint8List.fromList('data'.codeUnits);
@@ -109,7 +105,6 @@ void main() async {
109
105
### Verify methods
110
106
111
107
``` dart
112
- import 'package:fast_rsa/rsa.dart';
113
108
114
109
void main() async {
115
110
var bytesSample = Uint8List.fromList('data'.codeUnits);
@@ -128,7 +123,6 @@ void main() async {
128
123
### Encode methods
129
124
130
125
``` dart
131
- import 'package:fast_rsa/rsa.dart';
132
126
133
127
void main() async {
134
128
var bytesSample = Uint8List.fromList('data'.codeUnits);
@@ -140,7 +134,6 @@ void main() async {
140
134
### Decode methods
141
135
142
136
``` dart
143
- import 'package:fast_rsa/rsa.dart';
144
137
145
138
void main() async {
146
139
var result = await OpenPGP.armorDecode("message here");
@@ -152,7 +145,6 @@ void main() async {
152
145
### Metadata methods
153
146
154
147
``` dart
155
- import 'package:fast_rsa/rsa.dart';
156
148
157
149
void main() async {
158
150
var result = await OpenPGP.getPrivateKeyMetadata("[privateKey here]");
@@ -165,7 +157,6 @@ void main() async {
165
157
### Convert methods
166
158
167
159
``` dart
168
- import 'package:fast_rsa/rsa.dart';
169
160
170
161
void main() async {
171
162
var result = await OpenPGP.convertPrivateKeyToPublicKey("[privateKey here]");
0 commit comments