/lib/bouncycastle/docs/org/bouncycastle/crypto/engines/VMPCEngine.html

https://bitbucket.org/arkban/somersault · HTML · 508 lines · 430 code · 54 blank · 24 comment · 0 complexity · 4e5d2ebf56197a8d27c21af800886852 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--NewPage-->
  3. <HTML>
  4. <HEAD>
  5. <!-- Generated by javadoc (build 1.6.0) on Mon Jan 11 13:46:35 EST 2010 -->
  6. <TITLE>
  7. VMPCEngine (Bouncy Castle Library 1.45 API Specification)
  8. </TITLE>
  9. <META NAME="date" CONTENT="2010-01-11">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="VMPCEngine (Bouncy Castle Library 1.45 API Specification)";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  39. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  40. </TR>
  41. </TABLE>
  42. </TD>
  43. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  44. <b>Bouncy Castle Cryptography Library 1.45</b></EM>
  45. </TD>
  46. </TR>
  47. <TR>
  48. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  49. &nbsp;<A HREF="../../../../org/bouncycastle/crypto/engines/TwofishEngine.html" title="class in org.bouncycastle.crypto.engines"><B>PREV CLASS</B></A>&nbsp;
  50. &nbsp;<A HREF="../../../../org/bouncycastle/crypto/engines/VMPCKSA3Engine.html" title="class in org.bouncycastle.crypto.engines"><B>NEXT CLASS</B></A></FONT></TD>
  51. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  52. <A HREF="../../../../index.html?org/bouncycastle/crypto/engines/VMPCEngine.html" target="_top"><B>FRAMES</B></A> &nbsp;
  53. &nbsp;<A HREF="VMPCEngine.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  54. &nbsp;<SCRIPT type="text/javascript">
  55. <!--
  56. if(window==top) {
  57. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  58. }
  59. //-->
  60. </SCRIPT>
  61. <NOSCRIPT>
  62. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  63. </NOSCRIPT>
  64. </FONT></TD>
  65. </TR>
  66. <TR>
  67. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  68. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  69. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  70. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  71. </TR>
  72. </TABLE>
  73. <A NAME="skip-navbar_top"></A>
  74. <!-- ========= END OF TOP NAVBAR ========= -->
  75. <HR>
  76. <!-- ======== START OF CLASS DATA ======== -->
  77. <H2>
  78. <FONT SIZE="-1">
  79. org.bouncycastle.crypto.engines</FONT>
  80. <BR>
  81. Class VMPCEngine</H2>
  82. <PRE>
  83. java.lang.Object
  84. <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.bouncycastle.crypto.engines.VMPCEngine</B>
  85. </PRE>
  86. <DL>
  87. <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></DD>
  88. </DL>
  89. <DL>
  90. <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCKSA3Engine.html" title="class in org.bouncycastle.crypto.engines">VMPCKSA3Engine</A></DD>
  91. </DL>
  92. <HR>
  93. <DL>
  94. <DT><PRE>public class <B>VMPCEngine</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></DL>
  95. </PRE>
  96. <P>
  97. <HR>
  98. <P>
  99. <!-- =========== FIELD SUMMARY =========== -->
  100. <A NAME="field_summary"><!-- --></A>
  101. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  102. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  103. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  104. <B>Field Summary</B></FONT></TH>
  105. </TR>
  106. <TR BGCOLOR="white" CLASS="TableRowColor">
  107. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  108. <CODE>protected &nbsp;byte</CODE></FONT></TD>
  109. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#n">n</A></B></CODE>
  110. <BR>
  111. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  112. </TR>
  113. <TR BGCOLOR="white" CLASS="TableRowColor">
  114. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  115. <CODE>protected &nbsp;byte[]</CODE></FONT></TD>
  116. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#P">P</A></B></CODE>
  117. <BR>
  118. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  119. </TR>
  120. <TR BGCOLOR="white" CLASS="TableRowColor">
  121. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  122. <CODE>protected &nbsp;byte</CODE></FONT></TD>
  123. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#s">s</A></B></CODE>
  124. <BR>
  125. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  126. </TR>
  127. <TR BGCOLOR="white" CLASS="TableRowColor">
  128. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  129. <CODE>protected &nbsp;byte[]</CODE></FONT></TD>
  130. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#workingIV">workingIV</A></B></CODE>
  131. <BR>
  132. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  133. </TR>
  134. <TR BGCOLOR="white" CLASS="TableRowColor">
  135. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  136. <CODE>protected &nbsp;byte[]</CODE></FONT></TD>
  137. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#workingKey">workingKey</A></B></CODE>
  138. <BR>
  139. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  140. </TR>
  141. </TABLE>
  142. &nbsp;
  143. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  144. <A NAME="constructor_summary"><!-- --></A>
  145. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  146. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  147. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  148. <B>Constructor Summary</B></FONT></TH>
  149. </TR>
  150. <TR BGCOLOR="white" CLASS="TableRowColor">
  151. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#VMPCEngine()">VMPCEngine</A></B>()</CODE>
  152. <BR>
  153. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  154. </TR>
  155. </TABLE>
  156. &nbsp;
  157. <!-- ========== METHOD SUMMARY =========== -->
  158. <A NAME="method_summary"><!-- --></A>
  159. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  160. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  161. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  162. <B>Method Summary</B></FONT></TH>
  163. </TR>
  164. <TR BGCOLOR="white" CLASS="TableRowColor">
  165. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  166. <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  167. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#getAlgorithmName()">getAlgorithmName</A></B>()</CODE>
  168. <BR>
  169. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the name of the algorithm the cipher implements.</TD>
  170. </TR>
  171. <TR BGCOLOR="white" CLASS="TableRowColor">
  172. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  173. <CODE>&nbsp;void</CODE></FONT></TD>
  174. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#init(boolean, org.bouncycastle.crypto.CipherParameters)">init</A></B>(boolean&nbsp;forEncryption,
  175. <A HREF="../../../../org/bouncycastle/crypto/CipherParameters.html" title="interface in org.bouncycastle.crypto">CipherParameters</A>&nbsp;params)</CODE>
  176. <BR>
  177. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initialise a VMPC cipher.</TD>
  178. </TR>
  179. <TR BGCOLOR="white" CLASS="TableRowColor">
  180. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  181. <CODE>protected &nbsp;void</CODE></FONT></TD>
  182. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#initKey(byte[], byte[])">initKey</A></B>(byte[]&nbsp;keyBytes,
  183. byte[]&nbsp;ivBytes)</CODE>
  184. <BR>
  185. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  186. </TR>
  187. <TR BGCOLOR="white" CLASS="TableRowColor">
  188. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  189. <CODE>&nbsp;void</CODE></FONT></TD>
  190. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#processBytes(byte[], int, int, byte[], int)">processBytes</A></B>(byte[]&nbsp;in,
  191. int&nbsp;inOff,
  192. int&nbsp;len,
  193. byte[]&nbsp;out,
  194. int&nbsp;outOff)</CODE>
  195. <BR>
  196. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;process a block of bytes from in putting the result into out.</TD>
  197. </TR>
  198. <TR BGCOLOR="white" CLASS="TableRowColor">
  199. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  200. <CODE>&nbsp;void</CODE></FONT></TD>
  201. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#reset()">reset</A></B>()</CODE>
  202. <BR>
  203. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reset the cipher.</TD>
  204. </TR>
  205. <TR BGCOLOR="white" CLASS="TableRowColor">
  206. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  207. <CODE>&nbsp;byte</CODE></FONT></TD>
  208. <TD><CODE><B><A HREF="../../../../org/bouncycastle/crypto/engines/VMPCEngine.html#returnByte(byte)">returnByte</A></B>(byte&nbsp;in)</CODE>
  209. <BR>
  210. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;encrypt/decrypt a single byte returning the result.</TD>
  211. </TR>
  212. </TABLE>
  213. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  214. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  215. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  216. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  217. </TR>
  218. <TR BGCOLOR="white" CLASS="TableRowColor">
  219. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  220. </TR>
  221. </TABLE>
  222. &nbsp;
  223. <P>
  224. <!-- ============ FIELD DETAIL =========== -->
  225. <A NAME="field_detail"><!-- --></A>
  226. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  227. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  228. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  229. <B>Field Detail</B></FONT></TH>
  230. </TR>
  231. </TABLE>
  232. <A NAME="n"><!-- --></A><H3>
  233. n</H3>
  234. <PRE>
  235. protected byte <B>n</B></PRE>
  236. <DL>
  237. <DL>
  238. </DL>
  239. </DL>
  240. <HR>
  241. <A NAME="P"><!-- --></A><H3>
  242. P</H3>
  243. <PRE>
  244. protected byte[] <B>P</B></PRE>
  245. <DL>
  246. <DL>
  247. </DL>
  248. </DL>
  249. <HR>
  250. <A NAME="s"><!-- --></A><H3>
  251. s</H3>
  252. <PRE>
  253. protected byte <B>s</B></PRE>
  254. <DL>
  255. <DL>
  256. </DL>
  257. </DL>
  258. <HR>
  259. <A NAME="workingIV"><!-- --></A><H3>
  260. workingIV</H3>
  261. <PRE>
  262. protected byte[] <B>workingIV</B></PRE>
  263. <DL>
  264. <DL>
  265. </DL>
  266. </DL>
  267. <HR>
  268. <A NAME="workingKey"><!-- --></A><H3>
  269. workingKey</H3>
  270. <PRE>
  271. protected byte[] <B>workingKey</B></PRE>
  272. <DL>
  273. <DL>
  274. </DL>
  275. </DL>
  276. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  277. <A NAME="constructor_detail"><!-- --></A>
  278. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  279. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  280. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  281. <B>Constructor Detail</B></FONT></TH>
  282. </TR>
  283. </TABLE>
  284. <A NAME="VMPCEngine()"><!-- --></A><H3>
  285. VMPCEngine</H3>
  286. <PRE>
  287. public <B>VMPCEngine</B>()</PRE>
  288. <DL>
  289. </DL>
  290. <!-- ============ METHOD DETAIL ========== -->
  291. <A NAME="method_detail"><!-- --></A>
  292. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  293. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  294. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  295. <B>Method Detail</B></FONT></TH>
  296. </TR>
  297. </TABLE>
  298. <A NAME="getAlgorithmName()"><!-- --></A><H3>
  299. getAlgorithmName</H3>
  300. <PRE>
  301. public java.lang.String <B>getAlgorithmName</B>()</PRE>
  302. <DL>
  303. <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#getAlgorithmName()">StreamCipher</A></CODE></B></DD>
  304. <DD>Return the name of the algorithm the cipher implements.
  305. <P>
  306. <DD><DL>
  307. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#getAlgorithmName()">getAlgorithmName</A></CODE> in interface <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></CODE></DL>
  308. </DD>
  309. <DD><DL>
  310. <DT><B>Returns:</B><DD>the name of the algorithm the cipher implements.</DL>
  311. </DD>
  312. </DL>
  313. <HR>
  314. <A NAME="init(boolean, org.bouncycastle.crypto.CipherParameters)"><!-- --></A><H3>
  315. init</H3>
  316. <PRE>
  317. public void <B>init</B>(boolean&nbsp;forEncryption,
  318. <A HREF="../../../../org/bouncycastle/crypto/CipherParameters.html" title="interface in org.bouncycastle.crypto">CipherParameters</A>&nbsp;params)</PRE>
  319. <DL>
  320. <DD>initialise a VMPC cipher.
  321. <P>
  322. <DD><DL>
  323. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#init(boolean, org.bouncycastle.crypto.CipherParameters)">init</A></CODE> in interface <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></CODE></DL>
  324. </DD>
  325. <DD><DL>
  326. <DT><B>Parameters:</B><DD><CODE>forEncryption</CODE> - whether or not we are for encryption.<DD><CODE>params</CODE> - the parameters required to set up the cipher.
  327. <DT><B>Throws:</B>
  328. <DD><CODE>java.lang.IllegalArgumentException</CODE> - if the params argument is inappropriate.</DL>
  329. </DD>
  330. </DL>
  331. <HR>
  332. <A NAME="initKey(byte[], byte[])"><!-- --></A><H3>
  333. initKey</H3>
  334. <PRE>
  335. protected void <B>initKey</B>(byte[]&nbsp;keyBytes,
  336. byte[]&nbsp;ivBytes)</PRE>
  337. <DL>
  338. <DD><DL>
  339. </DL>
  340. </DD>
  341. <DD><DL>
  342. </DL>
  343. </DD>
  344. </DL>
  345. <HR>
  346. <A NAME="processBytes(byte[], int, int, byte[], int)"><!-- --></A><H3>
  347. processBytes</H3>
  348. <PRE>
  349. public void <B>processBytes</B>(byte[]&nbsp;in,
  350. int&nbsp;inOff,
  351. int&nbsp;len,
  352. byte[]&nbsp;out,
  353. int&nbsp;outOff)</PRE>
  354. <DL>
  355. <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#processBytes(byte[], int, int, byte[], int)">StreamCipher</A></CODE></B></DD>
  356. <DD>process a block of bytes from in putting the result into out.
  357. <P>
  358. <DD><DL>
  359. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#processBytes(byte[], int, int, byte[], int)">processBytes</A></CODE> in interface <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></CODE></DL>
  360. </DD>
  361. <DD><DL>
  362. <DT><B>Parameters:</B><DD><CODE>in</CODE> - the input byte array.<DD><CODE>inOff</CODE> - the offset into the in array where the data to be processed starts.<DD><CODE>len</CODE> - the number of bytes to be processed.<DD><CODE>out</CODE> - the output buffer the processed bytes go into.<DD><CODE>outOff</CODE> - the offset into the output byte array the processed data starts at.</DL>
  363. </DD>
  364. </DL>
  365. <HR>
  366. <A NAME="reset()"><!-- --></A><H3>
  367. reset</H3>
  368. <PRE>
  369. public void <B>reset</B>()</PRE>
  370. <DL>
  371. <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#reset()">StreamCipher</A></CODE></B></DD>
  372. <DD>reset the cipher. This leaves it in the same state
  373. it was at after the last init (if there was one).
  374. <P>
  375. <DD><DL>
  376. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#reset()">reset</A></CODE> in interface <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></CODE></DL>
  377. </DD>
  378. <DD><DL>
  379. </DL>
  380. </DD>
  381. </DL>
  382. <HR>
  383. <A NAME="returnByte(byte)"><!-- --></A><H3>
  384. returnByte</H3>
  385. <PRE>
  386. public byte <B>returnByte</B>(byte&nbsp;in)</PRE>
  387. <DL>
  388. <DD><B>Description copied from interface: <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#returnByte(byte)">StreamCipher</A></CODE></B></DD>
  389. <DD>encrypt/decrypt a single byte returning the result.
  390. <P>
  391. <DD><DL>
  392. <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html#returnByte(byte)">returnByte</A></CODE> in interface <CODE><A HREF="../../../../org/bouncycastle/crypto/StreamCipher.html" title="interface in org.bouncycastle.crypto">StreamCipher</A></CODE></DL>
  393. </DD>
  394. <DD><DL>
  395. <DT><B>Parameters:</B><DD><CODE>in</CODE> - the byte to be processed.
  396. <DT><B>Returns:</B><DD>the result of processing the input byte.</DL>
  397. </DD>
  398. </DL>
  399. <!-- ========= END OF CLASS DATA ========= -->
  400. <HR>
  401. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  402. <A NAME="navbar_bottom"><!-- --></A>
  403. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  404. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  405. <TR>
  406. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  407. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  408. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  409. <TR ALIGN="center" VALIGN="top">
  410. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  411. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  412. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  413. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  414. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  415. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  416. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  417. </TR>
  418. </TABLE>
  419. </TD>
  420. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  421. <b>Bouncy Castle Cryptography Library 1.45</b></EM>
  422. </TD>
  423. </TR>
  424. <TR>
  425. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  426. &nbsp;<A HREF="../../../../org/bouncycastle/crypto/engines/TwofishEngine.html" title="class in org.bouncycastle.crypto.engines"><B>PREV CLASS</B></A>&nbsp;
  427. &nbsp;<A HREF="../../../../org/bouncycastle/crypto/engines/VMPCKSA3Engine.html" title="class in org.bouncycastle.crypto.engines"><B>NEXT CLASS</B></A></FONT></TD>
  428. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  429. <A HREF="../../../../index.html?org/bouncycastle/crypto/engines/VMPCEngine.html" target="_top"><B>FRAMES</B></A> &nbsp;
  430. &nbsp;<A HREF="VMPCEngine.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  431. &nbsp;<SCRIPT type="text/javascript">
  432. <!--
  433. if(window==top) {
  434. document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
  435. }
  436. //-->
  437. </SCRIPT>
  438. <NOSCRIPT>
  439. <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
  440. </NOSCRIPT>
  441. </FONT></TD>
  442. </TR>
  443. <TR>
  444. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  445. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  446. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  447. DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  448. </TR>
  449. </TABLE>
  450. <A NAME="skip-navbar_bottom"></A>
  451. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  452. <HR>
  453. </BODY>
  454. </HTML>