|
Xamarin is a tool in the Cross-Platform Mobile Development and most of the time I have used this one only. It is also the faster way to build iOS, Android, and Windows apps. So, I would prefer this mode only.
|
|
|
|
|
If you want to replace WCF then the best option left for you is gRPC and Web API. The WCF is more adaptable to work for multiple software.
|
|
|
|
|
I want to use AES-GCM encryption of a plaintext with 'key' only. The 'key' will be received from backend (.net), in webservice response. The same key will be used later in backend as well to decrypt the encrypted value.
I have used extension as follwoing
To generate string to Symetric key
extension SymmetricKey {
init(string keyString: String, size: SymmetricKeySize = .bits256) throws {
guard var keyData = keyString.data(using: .utf8) else {
print("Could not create base64 encoded Data from String.")
throw CryptoKitError.incorrectParameterSize
}
let keySizeBytes = size.bitCount / 8
keyData = keyData.subdata(in: 0..<keySizeBytes)
guard keyData.count >= keySizeBytes else { throw CryptoKitError.incorrectKeySize }
self.init(data: keyData)
} }
Encryption & Decryption code snipet:
func aesgcmEncryptDecrypt() {
let str : String = "FwhXRYJ$xLf?^Kh6_&YfTJ%RuG+EqcTY"
var key : SymmetricKey = SymmetricKey(size: .bits256)
do{
key = try SymmetricKey(string: str)
}catch{
}
let plain = "HOW ARE YOU?"
let nonce = try! AES.GCM.Nonce(data: Data(base64Encoded: "fv1nixTVoYpSvpdA")!)
let tag = Data(base64Encoded: "e1eIgoB4+lA/j3KDHhY4BQ==")!
let sealedBox = try! AES.GCM.seal(plain.data(using: .utf8)!, using: key,
nonce: nonce, authenticating: tag)
let sealedBoxRestored = try! AES.GCM.SealedBox(combined: sealedBox.combined!)
let decrypted = try! AES.GCM.open(sealedBoxRestored, using: key,
authenticating: tag)
Swift.print("Combined:\n\(sealedBox.combined!.base64EncodedString())\n")
Swift.print("Cipher:\n\(sealedBox.ciphertext.base64EncodedString())\n")
Swift.print("Nonce:\n\(nonce.withUnsafeBytes {
Data(Array($0)).base64EncodedString() })\n")
Swift.print("Tag:\n\(tag.base64EncodedString())\n")
Swift.print("Decrypted:\n\(String(data: decrypted, encoding: .utf8)!)\n")
}
Our(generated from this code & .Net code) encrypted text is not matching. Anyone can help me, what I am doing wrong, detailing will be more helpful. Basically I was looking for saloution in Objective-C but I did not get any supported library for Objective-C.
|
|
|
|
|
|
how to find macos offset value
macos 10.15.1 = 0xA21F
how to find other macos systems. some one tell me
|
|
|
|
|
|
var offsetHandlerDeliveryReceipt = 0xA21F; # this is offset value
var deliveryReceiptHandlerAddr = iMessageBase.add(offsetHandlerDeliveryReceipt);
send("Hooking -[MessageServiceSession handler:messageIDDelivered:...] @ " + deliveryReceiptHandlerAddr);
Interceptor.attach(deliveryReceiptHandlerAddr, {
onEnter: function(args) {
send("DELIVERY_RECEIPT");
}
|
|
|
|
|
|
Is the functionality of IOS better than android or not?
|
|
|
|
|
Yes and no. But the question is fairly meaningless. What works well for one user may not be the same for another.
|
|
|
|
|
Of course yes, there is a big difference between the Android app and IOS app because of their functionality and many other things.
|
|
|
|
|
yes of its reliability and smoothness.
|
|
|
|
|
Hi all,
I am new to IOS but my company policies to use ipad for document signing.
I have a question.
Could you guide me how to start in IOS to build this kind of app ?
Native or webview or hybrid ?
Can i use the on device signature of Ipad to capure and store it ?
Many thanks
|
|
|
|
|
Message Closed
modified 23-Aug-20 1:14am.
|
|
|
|
|
The process of building an IOS app starts with these steps:
Step 1: Download Xcode- This tool helps you to work on building the iOS app with a user interface and writing codes.
Step 2: Learn Swift as it is the coding language for building your app.
Step 3: Access online resources for making the app better.
Step 4: Enroll in coding Bootcamp as from there you will get a lot of help and new ideas too.
Now for while making your app I guess hybrid is better than native and web view is more flexible.
|
|
|
|
|
Hi all,
I am looking for a solution to hire a team to write an app will load data from sql server to a form and digital signature.
Could you suggest me a solution ?
It take me a lot of pressure to do this task
modified 13-Jan-20 10:09am.
|
|
|
|
|
What does the URL you referenced have to do with "load data from sql server to a form and digital signature?"
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
I would guess OP is a spammer.
|
|
|
|
|
Hi,
I intend to hire a freelancer to build this app on IOS.
It will run locally on my wifi network which has access to sql server to show all relevant data to the form for client read and sign in.
Could you suggest me a solution ?
Webview or native app are ok too.
|
|
|
|
|
This is the wrong place to hire freelancers.
|
|
|
|
|
Especially hiring freelancers for free
The account has been reported as spammer (link in original post).
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
phil.o wrote: freelancers for free
Well, shouldn't they be free?
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
ZurdoDev wrote: Well, shouldn't they be free? It depends on which meaning of free is taken into account.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
|